Meaning of numbers in "col-md-4"," col-xs-1", "col-lg-2" in Bootstrap

Bravo picture Bravo · Jun 12, 2014 · Viewed 493k times · Source

I am confused with the grid system in the new Bootstrap, particularly these classes:

col-lg-*
col-md-*
col-xs-*

(where * represents some number).

Can anyone please explain the following:

  1. How that number is aligning the grids?

Answer

Shawn Taylor picture Shawn Taylor · Jun 12, 2014

Applies to Bootstrap 3 only.

Ignoring the letters (xs, sm, md, lg) for now,