aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/_grid.scss
blob: 27fd5584720f7331e2d2cc988740360139744af3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

      
                             



                          
 

                                



     










                                                                                            
 






                                                 
// 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();
}