1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

v5.1: Add optional CSS grid (#31813)

This commit is contained in:
Mark Otto
2021-06-22 19:51:16 -07:00
committed by GitHub
parent 5967ebd906
commit dd824f2d3e
7 changed files with 330 additions and 7 deletions

View File

@@ -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);