Columns must be immediate children of rows or I can have other divs inside a row without being a column? I'm working with drupal and it produces a lot of divs inside a container or row I've created.
For example I'm restricted to follow this structure always:
<div class="container">
<div class="row">
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
</div>
</div>
Or I can do something like this:
<div class="container">
<div class="row">
<div class="something">
Something
</div>
<div class="col">
One of three columns
</div>
<div class="col">
One of three columns
</div>
<div class="something__else">
Something else
</div>
</div>
</div>
row
andcol
are classes, you can use them freely; but in order to write maintanable, clear code (which others in your team can support), you should follow the framework... – Ruffianism