I'm not sure you can do that. Rows are set by percentages, so you would
need to simply close the "row", and open a new one. I do this in some of
my programs just by looking at stuff like:
<div class="row">
<loop results >
<div class="col-lg-4">some contents</div>
<if row_num / 3>
</div> <!-- close the "row" -->
<div class="row"> <!-- open a new one -->
</endif>
</endloop>
<unless loop_results.length / 3>
<div class="row"> <!-- need to re-open if we end on a finished
row, otherwise the div below would mess up -->
</end>
</div> <!-- close row -->
A very simplified example, but hopefully that helps a bit :)
On Tuesday, 27 August 2013 08:25:06 UTC+1, Kenmore wrote:
>
> I'm looking for a way to "automatically" handle rows. i.e., I define a
> series of divs as "col-lg-3 col-sm-6" etc. And they automatically fall into
> rows of 4 or 2 depending on the device.
>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.