answersLogoWhite

0

The z-index in CSS controls the levels of all of the elements. for instance if you have 2 absolutely positioned DIV's that are overlapping you could set the z-index on one to 5 and the other to 10 and the one with the higher z-index will appear on top.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

Add your answer:

Earn +20 pts
Q: What is Z-index in css?
Write your answer...
Submit
Still have questions?
magnify glass
imp