Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

darken scss

$btn-bkg: purple;
.btn {
  display: inline-block;
  padding: 18px;
  background: $btn-bkg;
  color: white;
  &:hover {
    background: darken($btn-bkg, 10%)
  }
}
Source by falkus.co #
 
PREVIOUS NEXT
Tagged: #darken #scss
ADD COMMENT
Topic
Name
1+2 =