they affect that breakpoint and all those above it (e.g.,
.col-sm-4applies tosm,md,lg,xl, andxxl). This means you can control container and column sizing and behavior by each breakpoint.Containers center and horizontally pad your content. Use
.containerfor a responsive pixel width,.container-fluidforwidth: 100%across all viewports and devices, or a responsive container (e.g.,.container-md) for a combination of fluid and pixel widths.
Columns are incredibly flexible. There are 12 template columns available per row, allowing you to create different combinations of elements that span any number of columns. Column classes indicate the number of template columns to span (e.g.,
col-4spans four).widths are set in percentages so you always have the same relative sizing.
Rows are wrappers for columns. Each column has horizontal
padding(called a gutter) for controlling the space between them. Thispaddingis then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also support modifier classes to uniformly apply column sizing and gutter classes to change the spacing of your content.
Reviewed by allin1blog
on
December 05, 2022
Rating:



No comments: