Currently utilizing bootstrap to create a website and facing the challenge of aligning images horizontally while hiding overflow.
Here is the div section:
<div class="timeline-gallery col-md-12" style="display: inline-block;">
<img src="/media/cache/de/0f/de0fca4d8b894f36a82a343cd150fcb9.jpg" class="img-thumbnail">
<img src="/media/cache/93/46/9346e937935238a5781beba426a279a1.jpg" class="img-thumbnail">
<img src="/media/cache/a2/53/a2531798d757427e8d5c625d1dfc34bc.jpg" class="img-thumbnail">
</div>
Additionally, provided below is the CSS for styling the images:
.timeline-gallery img {
display: inline-block;
position: relative;
float: left;
margin-right: 5px;
overflow: hidden;
}
Despite occupying the desired space, the images are currently arranged as shown in the link below: https://i.sstatic.net/lFE1A.png