What is the default value of z-index property? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the default value of z-index property?

12th Aug 2018, 2:41 PM
Stanley L
Stanley L - avatar
3 Answers
+ 2
z-index is context-based, so even if it doesn't have a specific number value, it will always have an order in relation to other objects in the DOM. https://css-tricks.com/css-stacking-contexts/
12th Aug 2018, 11:59 PM
Janning⭐
Janning⭐ - avatar
+ 1
0 I think. You can alway test it.
12th Aug 2018, 4:35 PM
Jan Štěch
Jan Štěch - avatar
12th Aug 2018, 4:41 PM
Jan Štěch
Jan Štěch - avatar