mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 01:42:36 +02:00
v5.1: Add optional CSS grid (#31813)
This commit is contained in:
@@ -23,6 +23,21 @@
|
||||
background-color: rgba(255, 0, 0, .1);
|
||||
}
|
||||
|
||||
.bd-example-cssgrid {
|
||||
text-align: center;
|
||||
|
||||
.grid + .grid {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.grid > * {
|
||||
padding-top: .75rem;
|
||||
padding-bottom: .75rem;
|
||||
background-color: rgba(255, 0, 255, .1);
|
||||
border: 1px solid rgba(255, 0, 255, .25);
|
||||
}
|
||||
}
|
||||
|
||||
.bd-highlight {
|
||||
background-color: rgba($bd-purple, .15);
|
||||
border: 1px solid rgba($bd-purple, .15);
|
||||
|
@@ -28,6 +28,12 @@
|
||||
@import "../../../scss/variables";
|
||||
@import "../../../scss/mixins";
|
||||
|
||||
// fusv-disable
|
||||
$enable-grid-classes: false; // stylelint-disable-line scss/dollar-variable-default
|
||||
$enable-cssgrid: true; // stylelint-disable-line scss/dollar-variable-default
|
||||
// fusv-enable
|
||||
@import "../../../scss/grid";
|
||||
|
||||
// Load docs components
|
||||
@import "variables";
|
||||
@import "navbar";
|
||||
|
Reference in New Issue
Block a user