What's the difference between SCSS and Sass?

前端 未结 13 2123
忘掉有多难
忘掉有多难 2020-11-22 14:51

From what I\'ve been reading, Sass is a language that makes CSS more powerful with variable and math support.

What\'s the difference with SCSS? Is it supposed to be

13条回答
  •  生来不讨喜
    2020-11-22 15:13

    The compact answer:

    SCSS refers to the main syntax supported by the Sass CSS pre-processor.

    • Files ending with .scss represent the standard syntax supported by Sass. SCSS is a superset of CSS.
    • Files ending with .sass represent the "older" syntax supported by Sass originating in the Ruby world.

提交回复
热议问题