Having trouble fitting 3 images in the same row? The issue arises when the images have different sizes, causing everything to shift. Any advice on how to address this problem? Thank you.
HTML:
<div class="first-slot">
<div class="masonry-box post-media">
<img src="upload/'.$row['fotos'].'" alt="" class="img-fluid">
<div class="shadoweffect">
<div class="shadow-desc">
<div class="blog-meta">
<span class="bg-orange"><a href="category-01.php" title="">'.$row['categoria'].'</a></span>
<h4><a href="single.php?id='.$row['id'].'" title="">'.$row['titulo'].'</a></h4>
<small><a href="single.php?id='.$row['id'].'" title="">'.$row['fecha'].'</a></small>
<small><a href="single.php?id='.$row['id'].'" title="">'.$row['autor'].'</a></small>
</div>
</div>
</div>
</div>
</div>
CSS:
.first-slot {
float: left;
width: 65%;
height: 35%;
}
.last-slot,
.second-slot {
float: left;
width: 35%;
height: 28%;
}
Bootstrap
.img-fluid {
max-width: 100%;
height: auto;
}