DEV Community

loading...

What is the z-index property in CSS and How is it Controlled?

robertdoyle25 profile image Rob Doyle Originally published at robdoylecreative.com on ・1 min read

The z-index is a stacking order property for an element. What does this mean exactly?. Well, think of it as something similar to using layers in Photoshop. The stacking order controls what element is positioned first, last or in between. With z-index, you could define the order of images, or place text over or an […]

The post What is the z-index property in CSS and How is it Controlled? appeared first on Rob Doyle Creative.

Discussion (0)

pic
Editor guide