I want to present my image in a grid style just like the style of giphy where every row has little spaces and everything fits into each other.
I'm about to do the same on my side but am having a problem with closing up the spaces between the columns.
How my current grid style look can be found here: https://i.stack.imgur.com/7pzLq.jpg
My code is:
<div class="container">
<div class="row " style="height: 300px; margin-bottom:0px; margin-top: 0px; margin-right: 0px; margin-left: 0px; ">
<% for(var i=0; i<tags.length; i++) { %>
<div class="col-md-6" class="" style="padding-right:0px;
padding-left:0px; padding-top: 0px">
<!--p style="color: white; font-size: 30px"><%= caption[i] %> </p-->
<a href="/meme/<%= pathi[i]%>"><img src='<%= path[i] %>' class="img-responsive" style="height: auto"> </a>
</div>
</div>
</div>
<%}%>
How do I make this work in CSS/bootstrap?