Home › Forums › CSS › Overlay one div over another on hover › Reply To: Overlay one div over another on hover
December 17, 2018 at 7:00 am
#280265
JeroenR
Participant
Maybe you could fake it by adding the following? This way the width for both of them is changed as if the first one is on top of the second.
.message:hover {
width: 60%;
}
.message:hover + .info {
width: 0;
}