我的页眉中有 2 个元素。重复的水平条纹和标志。我的问题是 Logo 的阴影干扰了条纹的阴影。
#header {
width: 100%;
height: 90px;
background: url('../images/header_bg.png') repeat-x;
color: #fff;
}
#logo {
margin: 0 auto;
width: 377px;
height: 145px;
background: url('../images/logo.png');
}
最佳答案
好的,我解决了。我用白框覆盖了 Logo 并将 Logo 的 z-index 设置为 9999。
关于html - 阴影干扰,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18579189/