+ 2

css tutorial

hey guys I have a problem with understanding this z-index's function and what is it doing exactly can some one explain it better and simple and about margin-left/right What is this?

22nd Jul 2020, 8:33 PM
reza mousavi
reza mousavi - avatar
2 Réponses
+ 3
Adding to Bagon's answer those elements should be positioned absolutely ,fixed or relatively Margin-left and margin-right specifies the space between two elements or around a element ,
22nd Jul 2020, 8:52 PM
Abhay
Abhay - avatar
+ 4
Basically objects with higher z-index will appear on top while lowers are behind
22nd Jul 2020, 8:36 PM
Bagon
Bagon - avatar