New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to manage upper and lower layers of divs with CSS
2 Answers
+ 6
you can use z-index but make sure the position have also set.
.on-top{
position: absolute;
z-index: 2;
}
+ 1
Taste thanks