I've been experimenting with Bootstrap to align two images side by side using different columns. I made sure they were aligned properly and even added some background colors for better visibility.
However, when I tested the responsive design by changing the resolution, I noticed that the images did not resize equally. They had the same height but different widths. Any ideas on why this is happening?
Below is the HTML code snippet:
.coresq {
background-color: #131313;
}
.cordir {
background-color: #AAAAAA;
}
.top-shows {
margin-left: 0;
margin-right: 0;
}
.top-shows [class^="col-"] {
padding-right: 0;
padding-left: 0;
}
<div class="container">
<div class="row top-shows">
<div class="col-xs-4 coresq ">
<img src="img/slogan_part_1.jpg" alt="image" class="slogan_l img-responsive"/>
</div>
<div class="col-xs-8 cordir">
<img src="img/slogan_part_2.jpg" alt="image" class="slogan_r img-responsive"/>
</div>
</div>
</div>
When I reduced the display size, I expected the responsive properties to resize equally since they are on the same line. Why aren't they resizing proportionally?