darken($color, $amount)
//darken(#FFF, 30%)
$btn-bkg: purple;
.btn {
display: inline-block;
padding: 18px;
background: $btn-bkg;
color: white;
&:hover {
background: darken($btn-bkg, 10%)
}
}
darken($color, $amount)
darken($color, 5%);
Code Example |
---|
Css :: clearfix |
Css :: how to put an element in front |
Css :: css make text closer together |
Css :: css if element is empty |
Css :: simple css reset |
Css :: css move element to the right |
Css :: wordpress https to localhost http |
Css :: move header down css |
Css :: The :invalid CSS pseudo-class |
Css :: how to create wave like border |
Css :: css text-decoration |
Css :: css row column grid |
Css :: text shadow css generator |
Css :: place two div elements next to each other |
Css :: open sublime text 3 from terminal mac |
Css :: nprogress css |
Css :: button looks like a link |
Css :: css outline style |
Css :: flexbox |
Css :: transform on click |
Css :: media queries import file |
Css :: css nth child range |
Css :: how to combine two screen sizes in media queries css |
Css :: repeating gradient |
Css :: css negative padding |
Css :: keyframes scss |
Css :: border css |
Css :: print zend db select query to string |
Css :: include css typo3 |
Css :: css padding property |