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%);
darken($color, $amount)
$linkcolour: #0000FF;
a {
color: $linkcolour;
}
a.lighter {
color: lighten($linkcolour, 50%);
}
Code Example |
---|
Css :: card with css grid |
Css :: center div using flex |
Css :: css select parent |
Css :: css line-through color |
Css :: firefox-scroll-css |
Css :: float: down css |
Css :: inherit css |
Css :: working with tailwind css on your react build |
Css :: table with vertical lines in angular |
Css :: css stop text wrapping |
Css :: remove text color from link |
Css :: span size css |
Css :: what is css |
Css :: comentarios en archivo scss |
Css :: nth-child |
Css :: css display offscreen |
Css :: how to change font color in css |
Css :: registration form in tailwind css |
Css :: @media for react style css |
Css :: form css design |
Css :: how do I add a vertical margin in css |
Css :: css a tag id selector scrolls too far |
Css :: attribute selectors in css |
Css :: see css from site |
Css :: postion on window top css |
Css :: css 100vh minus header |
Css :: flex box in css |
Css :: Latest compiled and minified CSS |
Css :: html css how to arrange images of different sizes |
Css :: css add space right |