mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
acf6ea74a7
* Add additional root variables, rename $variable-prefix to $prefix - Adds new root CSS variables for border-radius, border-width, border-color, and border-style - Adds new root CSS variables for heading-color, link-colors, code color, and highlight color - Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss - Updates $mark-padding to be an even pixel number - Renames $variable-prefix to $prefix throughout * Bundlewatch
34 lines
575 B
SCSS
34 lines
575 B
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(--#{$prefix}rows, 1), 1fr);
|
|
grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr);
|
|
gap: var(--#{$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();
|
|
}
|