W009 - Herst/bootlint-ng GitHub Wiki

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


W009

Using empty spacer columns isn't necessary with Bootstrap's grid. So instead of having an empty grid column with class="..." , just add class="..." to the next grid column.

Instead of using an empty column just to occupy space and push the next column further to the right, you can just use Bootstrap's .col-*-offset-* classes.

Wrong:

<div class="col-xs-3"><!--spacer--></div>
<div class="col-xs-9">...</div>

Right:

<div class="col-xs-offset-3 col-xs-9">...</div>
⚠️ **GitHub.com Fallback** ⚠️