1
I need to do with the grid system if possible the image example:
In the example above, I only need the formatting, where each event is a 'div' with a dynamic size, and the bottom one glues to the top one as shown in the example. I tried to use the code below to arrive as in the example, but when it reaches the 'col-12' it breaks the line and everything is 'straight' in the same line, becoming disproportionate, that is, if in the example below, every 4 events, would all be in a straight line.
Below is the code I tried to use to get to the example below:
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-8">.col-xs-12 .col-sm-6 .col-md-8</div>
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
<!-- Optional: clear the XS cols if their content doesn't match in height -->
<div class="clearfix visible-xs-block"></div>
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
</div>
Thanks for the help.
Show, exactly what I was looking for. Thank you!
– lfabra
@lfabra if it is useful to accept the answer.
– novic