Answers for "scss var in darken"

CSS
0

darken scss

$btn-bkg: purple;
.btn {
  display: inline-block;
  padding: 18px;
  background: $btn-bkg;
  color: white;
  &:hover {
    background: darken($btn-bkg, 10%)
  }
}
Posted by: Guest on August-03-2021

Browse Popular Code Answers by Language