In what way do SASS Variables differ from CSS Variables in terms of scope?

  • SASS Variables are not supported in modern browsers
  • SASS Variables are only used for color declarations
  • SASS Variables have global scope, while CSS Variables are local
  • SASS Variables use the $ symbol, while CSS Variables use --
SASS Variables have global scope, meaning they can be accessed from anywhere in the SASS file. On the other hand, CSS Variables are scoped to the selector or rule where they are defined.
Add your answer
Loading...

Leave a comment

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