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.
我有一个带有 2-3 个图标的 Div。图标在大图像 div 的顶部水平对齐。
我希望底部图像在图标之间的填充区域中可见。哪个属性可以帮助我实现这个功能?任何指针??
div用这样的东西给你的样式:
div
background: transparent, ...your other images...;
假设您的图标显示为background-images,如果没有,只需指定background: transparent;您的div.
background-images
background: transparent;