The grid is a key element in building responsive websites. It enables our websites to adapt to multiple devices such as desktop computers, laptops, tablets and smart phones.
Containers are the most basic layout element in Bootstrap and are required when using our default grid system. Choose from a responsive, fixed-width container (meaning its max-width changes at each breakpoint) or fluid-width (meaning it’s 100% wide all the time).
Rows & Columns
Learning how to use rows and columns with breakpoints is essential to building responsive web experiences. This 12 column grid system can be easily divided into multiples of 2, 3, 4, 6 and 12
Since Bootstrap is developed to be mobile first, we use a handful of media queries to create sensible breakpoints for our layouts and interfaces. These breakpoints are mostly based on minimum viewport widths and allow us to scale up elements as the viewport changes:
Small devices (sm) (landscape phones, 576px and up)
Medium devices (md) (tablets, 768px and up)
Large devices (lg) (desktops, 992px and up)
Extra large devices (xl) (large desktops, 1200px and up)
Reduce your screen width to view the responsive breakpoints in action