开发者

IMG not showing above background color?

开发者 https://www.devze.com 2023-01-20 19:45 出处:网络
I have 3 divs, each with a z-index higher than the previous and all overlain on eachother. The bottom div has an image, the next div has a background-color with opacity:0.7 and the topmost div has an

I have 3 divs, each with a z-index higher than the previous and all overlain on eachother.

The bottom div has an image, the next div has a background-color with opacity:0.7 and the topmost div has another image. The pr开发者_如何学Pythonoblem is the top-most image also appears underneath the background-color of the div beneath it, in Chrome, FF and IE.

Is there a workaround to allow the top most image be displayed on top as it should?


I guess I could just replace the background-color with a plain img.

0

精彩评论

暂无评论...
验证码 换一张
取 消