Originally posted on Triangular:
z-index is a fascinating CSS property with complicated interworkings. For most Web designers, myself included,
z-index is the ticket to getting certain page elements to “sit” on top of or float behind other elements. It especially shines when creating navigation bars that stick to the top of the page when scrolling and the “scroll to top” buttons, just to name two common examples.
However, in my travels and quest for Website design tips, tricks, knowledge, and useful libraries, I have found instances where
z-index is abused. While the reasoning behind it may have been sound to begin with, Web design trends change, and what made sense then may not anymore, meaning such
z-index usage might now be considered overuse or even abuse.
View original 720 more words