What is the purpose of a Bootstrap `.row` class?

Question

What is the purpose of a Bootstrap .row class?

Answer

The Bootstrap .row class is used to create a horizontal group of columns that add up to 12 columns total. We place an element with the .row class inside of an element with the .container class so that the .row is aligned properly.

4 Likes

If the .row class is used immediately after the <htlm>, would that not make the whole page easy to work with?

5 Likes

Yeah I second this - curious if an answer will appear a couple of years later…