Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用两个这样的背景图片
CSS:
nav li { background bg1 } li#abc { background bg2 }
HTML:
nav ul li id="abc"
我知道你可以通过做覆盖,li#abc { background bg1 bg2 }..但我想知道你是否可以附加 bg2?
li#abc { background bg1 bg2 }..