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  Convert seconds to hours in Python

Leave a Reply

Your email address will not be published. Required fields are marked *

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