mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-25 20:32:51 +01:00
I'm aware that currently cards are a lot simpler than buttons right now but this may change in future and it feels cleaner to be able to create new card styles without needing to know the internals of how they're implemented.
7 lines
106 B
SCSS
7 lines
106 B
SCSS
// Card variants
|
|
|
|
@mixin card-variant($color) {
|
|
background-color: $color;
|
|
border-color: $color;
|
|
}
|