Search
 
SCRIPT & CODE EXAMPLE
 

CSS

sass darken

darken($color, $amount)

//darken(#FFF, 30%)
Comment

SCSS lighten

lighten($color, $amount)
//Makes a color 
lighter.darken($color, $amount)
//Makes a color darker.
Comment

darken scss

$btn-bkg: purple;
.btn {
  display: inline-block;
  padding: 18px;
  background: $btn-bkg;
  color: white;
  &:hover {
    background: darken($btn-bkg, 10%)
  }
}
Comment

scss darken

darken($color, $amount)
Comment

scss darken color

darken($color, 5%);
Comment

SCSS lighten

saturate($color, $amount)
//Makes a color more 
saturated.desaturate($color, $amount)
//Makes a color less saturated.
Comment

scss darked color

$linkcolour: #0000FF;

a {
  color: $linkcolour;
}

a.lighter {
  color: lighten($linkcolour, 50%);
}
Comment

PREVIOUS NEXT
Code Example
Css :: scss mixin 
Css :: make element no styles 
Css :: Button CSS normal active hover 
Css :: gap between two flex items 
Css :: portfolio website html css 
Css :: how to centralize cards in css 
Css :: nativescript hr 
Css :: css syntax 
Css :: float: down css 
Css :: how to set unclickable checkbox using css 
Css :: variables css 
Css :: col-md-6 bootstrap 
Css :: bootstrap text truncate after 3 lines 
Css :: showing two iframes side by side 
Css :: font-size 
Css :: purge tailwind css 
Css :: transition css react 
Css :: css transitions 
Css :: Tailwindcss Breadcrumb 
Css :: circle percentage css 
Css :: webkit appreance none select 
Css :: how to give a background color strip in html and css 
Css :: disable on print margin html 
Css :: selectors in css 
Css :: see css from site 
Css :: CSS The object-fit Property 
Css :: screen sizes for css media 
Css :: text overlay animation css 
Css :: how mto change the label font style in css 
Css :: animations css 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =