What is Z-index in CSS?

Controls element stacking order. Higher value = on top.

div { z-index: 10; position: absolute; }

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *