How can the z index changes the overlapping of an element | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can the z index changes the overlapping of an element

28th Mar 2020, 2:18 PM
Huzaynat Modupeoluwa Oladiran
Huzaynat Modupeoluwa Oladiran - avatar
2 Answers
0
z-index only work with "positionned" elements (css 'position' property should be anything but not the default value 'static': 'absolute', 'relative', 'fixed') wich are removed from the document main stream and are handled as layers...
28th Mar 2020, 2:24 PM
visph
visph - avatar
0
Okay thanks
28th Mar 2020, 2:43 PM
Huzaynat Modupeoluwa Oladiran
Huzaynat Modupeoluwa Oladiran - avatar