0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-17 14:54:30 +01:00

Merge pull request #17682 from Xerkus/feature/card-bg-variable

[V4]Add variable for card background color
This commit is contained in:
Mark Otto 2015-09-22 20:09:47 -07:00
commit eefd1a959e
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
.card {
position: relative;
margin-bottom: $card-spacer-y;
background-color: #fff;
background-color: $card-bg;
border: $card-border-width solid $card-border-color;
@include border-radius($card-border-radius);
}

View File

@ -454,6 +454,7 @@ $card-border-radius: .25rem !default;
$card-border-color: #e5e5e5 !default;
$card-border-radius-inner: ($card-border-radius - $card-border-width) !default;
$card-cap-bg: #f5f5f5 !default;
$card-bg: #fff !default;
// Tooltips