I created three bootstrap cards with images and descriptions underneath. To ensure uniformity in size, I included height and width attributes for the images. However, there seems to be a bug as the properties are not working correctly, resulting in the images appearing in different sizes. Below is the code snippet that I used.
Could anyone identify what the issue might be?
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<div class="row">
<div class="col-lg-4 col-md-6">
<!--Card-->
<div class="card">
<!--Card image-->
<div class="view overlay hm-white-slight">
<img src="img/sigiriya.jpg" class="img-fluid" height="500px" width="500px" alt="">
<a>
<div class="mask"></div>
</a>
</div>
<!--Card content-->
<div class="card-block">
<h4 class="card-title">Card with waves effect</h4>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#!" class="btn btn-indigo">Button</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="view overlay hm-white-slight">
<img class="img-fluid" src="img/nuwara_eliya.jpg" alt="Card image cap" height="500px" width="500px">
<a>
<div class="mask"></div>
</a>
</div>
<div class="card-block">
<h4 class="card-title">Classic card</h4>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#!" class="btn btn-primary">Button</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="view overlay hm-white-slight">
<img src="img/ella.jpg" class="img-fluid" height="500px" width="500px" alt="">
<a>
<div class="mask"></div>
</a>
</div>
<div class="card-block">
<h4 class="card-title">Card with waves effect</h4>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#!" class="btn btn-pink">Button</a>
</div>
</div>
</div>