Revision 4a66f229ed701d4ed8d6d5b7469984ab11d822f0 authored by Andy Jiang on 16 December 2021, 08:43:30 UTC, committed by GitHub on 16 December 2021, 08:43:30 UTC
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
1 parent d178012
Raw File
_grid.scss
// Row
//
// Rows contain your columns.

@if $enable-grid-classes {
  .row {
    @include make-row();

    > * {
      @include make-col-ready();
    }
  }
}

@if $enable-cssgrid {
  .grid {
    display: grid;
    grid-template-rows: repeat(var(--#{$variable-prefix}rows, 1), 1fr);
    grid-template-columns: repeat(var(--#{$variable-prefix}columns, #{$grid-columns}), 1fr);
    gap: var(--#{$variable-prefix}gap, #{$grid-gutter-width});

    @include make-cssgrid();
  }
}


// Columns
//
// Common styles for small and large grid columns

@if $enable-grid-classes {
  @include make-grid-columns();
}
back to top