1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

Merge pull request #19861 from twbs/card-borders

Jank card borders were too janky
This commit is contained in:
Mark Otto
2016-05-08 13:38:51 -07:00

View File

@@ -9,8 +9,7 @@
background-color: $card-bg; background-color: $card-bg;
// border: $card-border-width solid $card-border-color; // border: $card-border-width solid $card-border-color;
@include border-radius($card-border-radius); @include border-radius($card-border-radius);
// Doesn't use mixin so that cards always have a "border" border: $card-border-width solid $card-border-color;
box-shadow: inset 0 0 0 $card-border-width $card-border-color;
} }
.card-block { .card-block {