+ 1

How do you make a <div> appear inside a parent <div> ?

I have been trying to make a <div> appear inside another one. As we all know, <div>s are block level, so they tend to appear below each other. anybody got an idea?

16th Aug 2018, 9:28 PM
Dzeff
Dzeff - avatar
3 Respuestas
+ 5
Couldn't you just put a div inside the other one? https://code.sololearn.com/W61zN4ofOIR8/?ref=app
16th Aug 2018, 9:36 PM
Maz
Maz - avatar
0
thanks for your answer but this is actually what i meant: <div class="wrapper"> <div class="a"></div> <div class="b"></div> <div class="c"></div> <div class="d"></div> </div> I want "d" to appear infront of "a" "b" and "c"
16th Aug 2018, 9:54 PM
Dzeff
Dzeff - avatar
0
use CSS z-index
17th Aug 2018, 4:18 AM
KrOW
KrOW - avatar