My code snippet appears fine in full-width view, but when I resize the browser, the images (cards) are not centered and lean towards the left side. How can I correct this issue?
This is the HTML code I am using:
<div class="container-fluid">
<div class="row ">
<div class="col-md-2">
<figure class="imghvr-fold-up">
<figcaption class="text-center">
Hello
</figcaption>
<img src="http://via.placeholder.com/200x200" class="img-thumbnail" alt="Cinque Terre">
</figure>
</div>
[More code snippets here...]
</div>
</div>
Although I am utilizing Bootstrap v4 which should adjust to different screen sizes automatically, I am experiencing alignment issues. Here is a visualization of the problem: