+ 1

I need to underlay my CSS shape,

.face{ background-color: #ffc0cb; width:300px; height: 300px; margin: 50px auto; border-radius: 50%; } //there would be other stuff as well. .random sttuff { valuables + overlayer on face; } .leg{ width: 316px; height: 316px; border-radius: 50% 50% 16% 84% / 71% 51% 49% 29%; } and I need that div leg to be underlaid, so it's behind the face, and the other 20 objects.

16th Nov 2018, 1:19 PM
Razu
Razu - avatar
7 Answers
+ 2
You can expect better help you could write this entire code in the playground and share the link here.
16th Nov 2018, 1:31 PM
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½ - avatar
+ 2
You need not to post it publicly. You can post it as private as well
16th Nov 2018, 1:33 PM
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½ - avatar
+ 2
Yeah that worked thanks, Faye.
16th Nov 2018, 2:43 PM
Razu
Razu - avatar
+ 1
I just need to know how to overlay a div with another div
16th Nov 2018, 1:32 PM
Razu
Razu - avatar
+ 1
I don't want to post my code. :)
16th Nov 2018, 1:32 PM
Razu
Razu - avatar
+ 1
In css2, you can use the z-index property. Not sure if there is a better way now...
16th Nov 2018, 2:26 PM
Faye
+ 1
Great! Please upvote my answer
16th Nov 2018, 2:45 PM
Faye