_grid.scss 1.52 KiB
//
// Grid system
// --------------------------------------------------
// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.
.container {
  @include make-container();
  @media (min-width: $screen-sm-min) {
    max-width: $container-sm;
  @media (min-width: $screen-md-min) {
    max-width: $container-md;
  @media (min-width: $screen-lg-min) {
    max-width: $container-lg;
// Fluid container
// Utilizes the mixin meant for fixed width containers, but without any defined
// width for fluid, full width layouts.
.container-fluid {
  @include make-container();
// Row
// Rows contain and clear the floats of your columns.
.row {
  @include make-row();
// Columns
// Common styles for small and large grid columns
@include make-grid-columns();
// Extra small grid
// Columns, offsets, pushes, and pulls for extra small devices like
// smartphones.
@include make-grid(xs);
// Small grid
// Columns, offsets, pushes, and pulls for the small device range, from phones
// to tablets.
@include media-sm {
  @include make-grid(sm);
// Medium grid
717273747576777879808182838485868788899091929394
// Columns, offsets, pushes, and pulls for the desktop device range. @include media-md { @include make-grid(md); } // Large grid // // Columns, offsets, pushes, and pulls for the large desktop device range. @include media-lg { @include make-grid(lg); } // Large grid // // Columns, offsets, pushes, and pulls for the large desktop device range. @include media-lg { @include make-grid(xl); }