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.
你可以尝试做..
.has_transparent_png a { position:relative; zoom:1; }
这并不总是有效...
另一种选择是使用兄弟 div 用 png 填充整个父 div,然后有一个兄弟 div 到包含锚并具有更高堆叠顺序的那个。
似乎没有办法严格通过 CSS 来做到这一点,这是预期的目标。
左边框在 CSS 中带有 FontAwesome 图标?