Skip to content

CSS code snippet – How to declare a global variable in S?

/*Use the keyword PRECEDED by exclamation(!) i.e;"!global"*/
/*Refer to the example below*/

  $myColor: green !global;
  color: $myColor;

 
See also  Java code snippet - How to get witdth of window android?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.