@extends('layouts.vertical', ['pageTitle' => 'Responsive Grid']) @section('css') @endsection @section('page-title') @include('layouts.partials/app-pagetitle', ['pageTitle'=> 'Responsive Grid', 'pageSubTitle1' => 'Design', 'pageSubTitle2'=> 'System Utilities', 'pageSubText' => 'Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, and dozens of predefined classes.']) @endsection @section('content')
|
Extra small <576px |
Small ≥576px |
Medium ≥768px |
Large ≥992px |
Extra large ≥1200px |
XX large ≥1400px |
XXX large ≥1599px |
|
|---|---|---|---|---|---|---|---|
| Grid behavior | Horizontal at all times | Collapsed to start | horizontal above breakpoints | ||||
| Max container | None (auto) | 540px | 720px | 960px | 1140px | 1320px | 1500px |
| Class prefix | .col- |
.col-sm- |
.col-md- |
.col-lg- |
.col-xl- |
.col-xxl- |
.col-xxxl- |
| Number of columns | 12 | ||||||
| Max column width | Auto | 60px | 78px | 95px | 95px | 95px | 95px |
| Gutter width | 1.5rem (0.75rem on left and right) | ||||||
| Custom gutters | Yes | ||||||
| Nestable | Yes | ||||||
| Column ordering | Yes | ||||||
xs to
xl.
col-{breakpoint}-auto classes, columns can size itself based on the natural width
of its content. This is super handy with single line content like inputs, numbers, etc. This, in
conjunction with horizontal alignment classes, is very useful for centering layouts with uneven column
sizes as viewport width changes.
.w-100 where you want the
columns to break to a new line. Make the breaks responsive by mixing the .w-100 with some
responsive display utilities.
.col and
.col-* classes. Specify a numbered class when you need a particularly sized column;
otherwise, feel free to stick to .col.
.col-sm-* classes, you can create a basic grid system that starts out
stacked on extra small devices before becoming horizontal on desktop (medium) devices.
.g-0
removes gutters, .g-4 sets gutters to 1.5rem, and .g-*-* classes can be used
for responsive gutter widths.
.order- classes for controlling the visual order of your content. These classes are
responsive, so you can set the order by breakpoint (e.g., .order-1.order-md-2).
.offset-md-* classes. These classes increase the left
margin of a column by * columns. For example, .offset-md-4 moves .col-md-4
over four columns.
.push-md-* and
.pull-md-* modifier classes.
.row and set of
.col-sm-* columns within an existing .col-sm-* column. Nested rows should
include a set of columns that add up to 12 or fewer (it is not required that you use all 12 available
columns).