I'm having trouble implementing an image gallery on my index page. Despite my efforts, I can't seem to achieve the desired behavior. Here's a snippet of my code:
.container
.row
.col-md-8.col-sm-8.col-xs-8
- 4.times do |i|
.col-md-1.col-sm-1.col-xs-1
%img.img-responsive.img-rounded{:alt => "", :src => "http://placehold.it/300"}
.col-md-4 //consider simple code in for this column !
I've tried adding containers, rows, and other elements, but the images always end up smaller than intended. Could there be an issue with my code? Am I misunderstanding Bootstrap's behavior?