Getting a divs z-index to overlap a div with absolute positioning
Posted
by
Paul Herron
on Stack Overflow
See other posts from Stack Overflow
or by Paul Herron
Published on 2012-09-27T14:40:13Z
Indexed on
2012/09/27
15:37 UTC
Read the original article
Hit count: 161
css
Does anyone know how I could get the logo at the top of my page to appear on top of the curtains.
The logo is within a section tag along with the rest of the content with a z-index of 2, which is required to get the footer reveal effect I want. The curtain has a z-index of 3. I tried setting the z-index of the logo div to 4 but I presume the fact that the sections styling overrides that?
I would like the logo to scroll with the content of the page also.
Thanks. :)
© Stack Overflow or respective owner