As a beginner in HTML, I am faced with the challenge of placing two images of different sizes side by side on the same row using HTML and Bootstrap. Below is my current code:
<div class="row">
<div class="col-lg-6 col-md-6 col-xs-6 col-sm-6">
<img src="https://x1" alt="logo"
id="logo">
</div>
<div class="col-lg-6 col-md-6 col-xs-6 col-sm-6">
<img src="https://x2" alt="ex" id="img2">
</div>
</div>
Although they appear side by side, the images are of different sizes. How can I resize them to fit as two square images next to each other? Here is the CSS affecting the images:
img{
margin-top:25px;
width:100%;
}
I would greatly appreciate any help I could get!