how to declare a global variable in scss

Solutions on MaxInterview for how to declare a global variable in scss by the best coders in the world

showing results for - "how to declare a global variable in scss"
Lotta
11 Jul 2016
1/*Use the keyword PRECEDED by exclamation(!) i.e;"!global"*/
2/*Refer to the example below*/
3
4  $myColor: green !global;
5  color: $myColor;
6
7