Variables in SCSS | SASS

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • In Variables we can store reusable values. They are defined using the $ symbol.
    Global Variable: Defined at the root level and available across the entire SCSS file.
    Local Variables: Defined within a specific scope, like inside a mixin or selector, and only available in that scope.
    What we can store in variables:
    Strings
    Numbers with and without units.
    Colors
    Booleans
    Lists
    Maps
    Null
    #scss #variables #sass #css
    ‪@jsguruatul‬

Комментарии •