What You May Not Know About the Z-Index Property

The last completely removes an element from the normal flow and relies on the developer to tell the element where to display.
You give it top, left, bottom, and right values to position the element in two-dimensional space, but CSS also allows you to place it in the third dimension using the z-index property.
On the surface, z-index seems like an easy property to use. You set values to determine where on this third axis the element will be located, and you’re done. Below the surface there’s plenty more to dive into, including a number of rules for which types of elements sit on top of others.

What You May Not Know About the Z-Index Property 


Full post: What You May Not Know About the Z-Index Property 

0 Comments:

Post a Comment