A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/twbs/bootlint/wiki/W009 below:

W009 · twbs/bootlint Wiki · GitHub

Using empty spacer columns isn't necessary with Bootstrap's grid.

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>

To achieve horizontal alignment there you have additional classes at your disposal in Bootstrap 4 and newer. Also there are classes (margin utilities) which help you with moving sibling columns away from one another.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4