+ 1
Center children and z-index
How can I center the children horizontally in the page and stack the circles under .centered? https://sololearn.com/compiler-playground/WEgURf0EFPaW/?ref=app
3 Antworten
+ 1
If I understand your question correctly, you would put the children in a div and centre that. What do you mean by stack?
+ 1
Sorry for not being clear, how to make the elements within .centered display horizontally centered within the page?
With stack, I'm trying to arrange the circle elements to look like they're under the .centered element with Z-index property.
https://sololearn.com/compiler-playground/WnfPs6Ey5JAG/?ref=app
A little like this
+ 1
don't nest the 3 circles in the .centered div