This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
Bootstrap
Watch
0
Star
0
Fork
0
You've already forked Bootstrap
mirror of
https://github.com/twbs/bootstrap.git
synced
2025-01-30 22:52:24 +01:00
Code
Issues
Actions
Packages
Releases
Activity
Bootstrap
/
scss
/
mixins
/
_cards.scss
7 lines
102 B
SCSS
Raw
Normal View
History
Unescape
Escape
Create a mixin for creating new card styles. 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.
2015-11-26 13:21:07 +00:00
// Card variants
@mixin
card-variant
(
$color
)
{
Update _cards.scss
2015-11-26 13:33:54 +00:00
background-color
:
$color
;
border-color
:
$color
;
Create a mixin for creating new card styles. 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.
2015-11-26 13:21:07 +00:00
}
Reference in New Issue
Copy Permalink