Answers for "Sass Introduction"

CSS
0

Sass Introduction

/* define variables for the primary colors */
$primary_1: #a2b9bc;
$primary_2: #b2ad7f;
$primary_3: #878f99;

/* use the variables */
.main-header {
  background-color: $primary_1;
}

.menu-left {
  background-color: $primary_2;
}

.menu-right {
  background-color: $primary_3;
}
Posted by: Guest on December-06-2020

Browse Popular Code Answers by Language