how define variable in sass code example
Example 1: scss variables
$base-color: #c6538c;
Example 2: variables scss
// SCSS variables
$darkcolor: #605C4D;
$large: 350px;
section{
background-color: $darkcolor;
height: $large;
}
$base-color: #c6538c;
// SCSS variables
$darkcolor: #605C4D;
$large: 350px;
section{
background-color: $darkcolor;
height: $large;
}