sass introduction

Solutions on MaxInterview for sass introduction by the best coders in the world

showing results for - "sass introduction"
Selyan
09 Jan 2021
1/* define variables for the primary colors */
2$primary_1: #a2b9bc;
3$primary_2: #b2ad7f;
4$primary_3: #878f99;
5
6/* use the variables */
7.main-header {
8  background-color: $primary_1;
9}
10
11.menu-left {
12  background-color: $primary_2;
13}
14
15.menu-right {
16  background-color: $primary_3;
17}