0
I’m trying to mount the grid below in Bootstrap 3.
This grid is being mounted inside a for loop.
this way I’m using the Grid System scheme, but they are aligned this way:
That is the code:
<div class="col-xs-6 col-sm-3">
<div class="panel panel-primary">
<img class="img-circle center-block" alt="120x120"
src="https://hcommons.org/app/uploads/group-avatars/1000791/5913624c63eb1-bpfull.png"
data-holder-rendered="true" style="width: 120px; height: 120px;">
<span class="pull-right">
<small> 21/11/2018 </small>
</span>
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">TITULO</h5>
</div>
<p class="mb-1">AQUI O PAINEL AUMENTA OU DIMINUI CONFORME A QUANTIDAD DE TEXTO QUE VEM DO LAÇO FOR </p>
<div class="row">
<div class="col-md-8 col-xs-12">
<button type="button" class="btn btn-primary btn-xs">TESTES 1</button>
<a class="btn btn-primary btn-xs" a href="#">TESTES 2</a>
</div>
</div>
</div>
</div>
It is advisable to provide the code you are using, it is easier to suggest an edit on top of it if necessary, or even use it as a basis.
– Caio de Paula Silva
face ussa bi-dimentional array vc creates the first array 4 columns and within each column vc poe your Divs dai when you mount the first column with all Divs inside it after the second third and fourth
– Jasar Orion
Hello @Caiodepaulasilva
– Elton
Could you give a clearer example @Jasar Orion ? I’m a donkey
– Elton
Dude is Bootstrap 3 or 4? I’m seeing your code and you’re using both classes at the same time... it doesn’t make sense...
– hugocsl
It’s boostrap 3. Sorry about this mess, my strong one is back-end. But you got the problem.
– Elton
already has answer, yes. but totally out of my context, which is bootstrap.
– Elton