0
explain z-index
Can anyone please explain z-index property? I am not understanding it properly.
3 Respostas
+ 7
It can be understood as the layer depth number, which decides about the position of the object in the layer stack and its obscurity (or not). Of course, just visually :)
0
Which part confuses you?
z-index helps manipulate the contextual stacking order (how elements overlap each other)
https://css-tricks.com/almanac/properties/z/z-index/