我想通过多个背景创建边框并发现了一个问题。我需要对每个背景应用优先级,因为它们中的许多是相互重叠的。
是否有任何 css 属性来设置每个背景的 z-index?
left-top-corner(z-index:2) top(repeat-x) right-top-corner(z-index:2)
left(repeat-y)
left-bottom-corner(z-index:2) bottom(repeat-x) right-bottom-corner(z-index:2)
像那样。
就像是:
background-z-index:2,1,2 .. etc.