I have a div (div_one) with an image. Under this div, I have another, smaller div (div_two). I would like, after hover, resize (smaller height) this div_one (with the picture) and show this div_two, which is under the image. But it doesn't work as I want to. The images jump :/
.images {
background: url('https://www.lokeshdhakar.com/projects/lightbox2/images/image-3.jpg');
height: 200px;
width: 150px;
background-repeat: no-repeat;
background-position: center;
display: flex;
align-items: flex-end;
}
.images:hover {
height: 150px;
width: 100px;
}
img {
height: 200px;
width: 150px;
}
.info {
display: none --> I want this to show after hover
}
<div class="images">
<div class="info">lorem ipsum</div>
</div>
Any ideas how it can work?