Bootstrap 5 Grid Layout - Search
Open links in new tab
  1. 123

    The Bootstrap grid system uses a series of containers, rows, and columns to layout and align content. It is built with flexbox and is fully responsive.

    Example

    <div class="container">
    <div class="row">
    <div class="col-sm">
    One of three columns
    </div>
    <div class="col-sm">
    One of three columns
    </div>
    <div class="col-sm">
    One of three columns
    </div>
    </div>
    </div>

    How it Works

    • Containers: Provide a means to center and horizontally pad your site’s contents. Use .container for a responsive pixel width or .container-fluid for width: 100% across all viewport and device sizes.

    • Rows: Wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them.

    • Columns: Indicate the number of columns you’d like to use out of the possible 12 per row. Column widths are set in percentages, so they’re always fluid and sized relative to their parent element.

    Responsive Breakpoints

    Bootstrap’s grid system can adapt across all six default breakpoints:

    • Extra small (xs): <576px

    • Small (sm): ≥576px

    • Medium (md): ≥768px

    • Large (lg): ≥992px

    • Extra large (xl): ≥1200px

    • Extra extra large (xxl): ≥1400px.

    Customization

    You can customize the grid system using Sass variables and mixins to create custom, semantic, and responsive page layouts.

    Continue reading
    Feedback
    Kizdar net | Kizdar net | Кыздар Нет
  1. Some results have been removed