Bootstrap Grid System
- Bootstrap has a powerful grid system that helps developers create responsive layouts for their websites.
- The grid system is based on rows and columns and allows you to create complex layouts with ease.
Syntax
To use the Bootstrap grid system, you need to use the following classes:
.row
: This class creates a row..col
: This class creates a column..col-{breakpoint}-{number}
: This class sets the width of the column for different breakpoints. The breakpoints can bexs
,sm
,md
,lg
, andxl
. The number can be between 1 and 12.