2020-05-19 16:53:54 +00:00
|
|
|
// Row
|
|
|
|
//
|
|
|
|
// Rows contain your columns.
|
|
|
|
|
|
|
|
@if $enable-grid-classes {
|
|
|
|
.row {
|
|
|
|
@include make-row();
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
> * {
|
|
|
|
@include make-col-ready();
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-04 15:49:41 +00:00
|
|
|
@if $enable-cssgrid {
|
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr);
|
|
|
|
grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr);
|
|
|
|
gap: var(--#{$prefix}gap, #{$grid-gutter-width});
|
|
|
|
|
|
|
|
@include make-cssgrid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-07 11:12:38 +00:00
|
|
|
|
2020-05-19 16:53:54 +00:00
|
|
|
// Columns
|
|
|
|
//
|
|
|
|
// Common styles for small and large grid columns
|
|
|
|
|
|
|
|
@if $enable-grid-classes {
|
|
|
|
@include make-grid-columns();
|
|
|
|
}
|