How to layer different css shapes ontop of one another.... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How to layer different css shapes ontop of one another....

I checked it out on the tutorial and Google but cannot find any appropriate answer ... Please help me out.🙏😓

24th Aug 2019, 5:55 PM
Justin
Justin - avatar
2 Answers
+ 2
If you create a shape in html with css they automatically layer one on top of the other. This seems to obvious so I have a feeling its not what you mean.... Does this have somthing to do with having a new element in the exact position as the previous one?.
24th Aug 2019, 8:34 PM
D_Stark
D_Stark - avatar
0
As others have said you may use z-index property, but you may also use the transparent effect and not set it as transparent lol. but the z-index is better (even tho transparent is easier to understand for me)
28th Aug 2019, 5:40 AM
Andrew Johnson
Andrew Johnson - avatar