sas code example
Example 1: Sass Tutorial
/* Define standard variables and values for website */
$bgcolor: lightblue;
$textcolor: darkblue;
$fontsize: 18px;
/* Use the variables */
body {
background-color: $bgcolor;
color: $textcolor;
font-size: $fontsize;
}
Example 2: sas
Salaalas Sas
Example 3: Sass Introduction
/* define variables for the primary colors */
$primary_1:
$primary_2:
$primary_3:
/* use the variables */
.main-header {
background-color: $primary_1;
}
.menu-left {
background-color: $primary_2;
}
.menu-right {
background-color: $primary_3;
}