我想让红色部分的阴影与白色部分重叠,而不是相反。如何指定图层(特别是阴影)的订单?
适用CSS:
#container { (the white part)
width: 960px;
margin: 0 auto 24px auto;
background: #FFFAFA; /*background: url(images/grid.png) center top no-repeat;*/
box-shadow: 0px 5px 45px #343434;
}
#banner { (the red part)
background: -moz-linear-gradient(top, #BC4E4C 0%, #9E403F 100%);
background: -webkit-linear-gradient(top, #BC4E4C 0%, #9E403F 100%);
height: 40px;
width: 100%;
box-shadow: 0px 10px 10px #343434;
border-bottom: 1px solid #612525;
}
在情况下,它是很重要的,网幅广告的HTML中的主要内容之前。谢谢!
我建议粘贴相关的HTML代码,而不是用英文来描述它,因为HTML有低估自身说话的能力;) – BoltClock