I am trying to change this code so that each box comes to the fore when the mouse freezes in this field.
Any suggestions or help would be appreciated!
.bouncyHouse {
height:200px;
width:150%;
background-color: black;
position: relative;
}
.bouncer {
position: absolute;
width: 200px;
color:white;
font-size:50px;
background-color:yellow;
}
.bouncer:nth-child(2){
top: 30px;
left: 100px;
background-color:green;
}
.bouncer:nth-child(3){
top: 50px;
left: 200px;
background-color:red;
}
source
share