One of the columns in a row may have text longer than the available width, causing it to overflow into a new line below the other three elements. The layout should resemble:
Example: https://i.sstatic.net/a2ltj.png
If the first column with verylongtext
would cause a line break,
<div class="row">
<div class="col">verylongtext</div>
<div class="col">1</div>
<div class="col">2</div>
<div class="col">3</div>
</div>
it should render as:
<div class="row">
<div class="col">1</div>
<div class="col">2</div>
<div class="col">3</div>
</div>
<div class="row">
<div class="col">verylongtext</div>
</div>
Is there a way to achieve this using bootstrap or other techniques?