0
Making objects or shoes go behind others in css
How do I make objects like shapes I create with css go behind the header and other webpage elements
4 Antworten
+ 3
z-index is used for this
https://www.w3schools.com/cssref/pr_pos_z-index.asp
+ 3
You can use lower z-index values on those elements that you want to move behind other elements and use larger z-index values to move forward.
For example if you have two red and green divs ovelapping each other. Then if you wanna move red div forward you should use greater z-index value for red div and lower value for green div. Maybe I answered your question :)
+ 2
Thank you very much
I will try it out and get back to you
+ 1
Nabin Bhatt thank you sir