1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 18:02:37 +02:00

Remove card columns in favor of masonry grid

This commit is contained in:
Martijn Cuppens
2019-06-30 16:59:58 +03:00
committed by XhmikosR
parent 3b73dfc44b
commit b4c4223409
8 changed files with 114 additions and 111 deletions

View File

@@ -241,29 +241,6 @@
}
//
// Columns
//
.card-columns {
.card {
margin-bottom: $card-columns-margin;
}
@include media-breakpoint-up(sm) {
column-count: $card-columns-count;
column-gap: $card-columns-gap;
orphans: 1;
widows: 1;
.card {
display: inline-block; // Don't let them vertically span multiple columns
width: 100%; // Don't let their width change
}
}
}
//
// Accordion
//