Answers for "sass css colors"

CSS
0

how to darken a color with sass function

darken($color, $amount)
Posted by: Guest on April-09-2021
0

sass create color utility classes

@mixin modifiers($map, $attribute, $prefix: '-', $separator: '-', $base: 'base') {
  @each $key, $value in $map {
    &#{if($key != $base, #{$prefix}#{$key}, '')} {
      @if type-of($value) == 'map' {
        @include modifiers($value, $attribute, $separator);
      }
      @else {
        #{$attribute}: $value;
      }
    }
  }
}
Posted by: Guest on April-03-2021

Browse Popular Code Answers by Language