Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis0
If there are multiple divs with the content written on it how can we overlap those divs one above the another
2 Respostas
+ 2
Make a parent tag of all these divs,
set the parent tag with css
.parent {
position: relative;
}
and set all child divs with css
.parent div {
position: absolute;
left: 0px; /* or could be other px value */
top: 0px; /* or could be other px value */
}
+ 1
Use the "z-index" property of CSS
https://www.sololearn.com/learn/CSS/1118/?ref=app