Answers for "SCSS variables"

8

scss variable to css variable

$color-black: #000000;

body {
    --color: #{$color-black};
}
Posted by: Guest on June-07-2021
3

SCSS variables

$font-stack:    Helvetica, sans-serif;
$primary-color: #333;

body {
  font: 100% $font-stack;
  color: $primary-color;
}
Posted by: Guest on May-17-2021
5

scss variables

$base-color: #c6538c;
Posted by: Guest on January-22-2020
1

how to declare a variable in SASS

$variablename: value;
Posted by: Guest on July-25-2021
5

scss variables

$base-color: #c6538c;
$border-dark: rgba($base-color, 0.88);

.alert {
  border: 1px solid $border-dark;
}
Posted by: Guest on June-24-2020
-2

scss variables

$variable: 1;
Posted by: Guest on October-01-2020

Browse Popular Code Answers by Language