0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

add card column count variable

This commit is contained in:
Mark Otto 2016-12-22 16:38:22 -08:00
parent 5f40770d19
commit 246151aa12
2 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,7 @@
@include media-breakpoint-up(sm) {
.card-columns {
column-count: 3;
column-count: $card-columns-count;
column-gap: $card-columns-gap;
.card {

View File

@ -707,6 +707,7 @@ $card-img-overlay-padding: 1.25rem !default;
$card-deck-margin: .625rem !default;
$card-columns-count: 3 !default;
$card-columns-gap: 1.25rem !default;