#one {
background-color: gray;
width: 100%;
height: 100%;
z-index: -10;
}
#two{
background-color: powderblue;
width: 100%;
height: 100%;
z-index: 10;
}
Based on this CSS (referring two divs, one with the id “one” and the other with the id “two”). I want the powderblue one to be on top, but the gray one stays on top. What am I missing with z-index?