sass define variable in class code example
Example 1: scss variables
$base-color: #c6538c;
Example 2: scss variables
$base-color: #c6538c;
$border-dark: rgba($base-color, 0.88);
.alert {
border: 1px solid $border-dark;
}
$base-color: #c6538c;
$base-color: #c6538c;
$border-dark: rgba($base-color, 0.88);
.alert {
border: 1px solid $border-dark;
}