"매 CSS 의 superset preprocessor — variable, nesting, mixin, module". 2006 Hampton Catlin 출시. 2020 Dart Sass 의 only 공식 implementation (LibSass deprecated). 2026 매 Tailwind v4 / native CSS nesting 의 부상으로 점유율 감소했지만 매 design system / legacy 에서 견고.
매 핵심
매 두 syntax
SCSS: 매 CSS-superset, {}; 사용 — 매 mainstream.
Sass (indented): 매 Python-like indentation, .sass 확장자 — 매 niche.
매 핵심 기능
Variable: $primary: #007bff;
Nesting: 매 selector 중첩 + & (parent reference).
Mixin: @mixin / @include — reusable block.
Function: @function — value 반환.
Module system: @use / @forward (2019+, 매 @import deprecated).
Inheritance: @extend.
Math/color operations.
매 2026 상태
Native CSS: nesting (Baseline 2024), var(), @layer, container query — 매 SCSS 의 일부 기능 native.
Tailwind v4: 매 utility-first → SCSS 의 design system 사용 감소.
여전히 활발: Bootstrap 5, Material Design legacy, Rails 8 default.
매 응용
Design system: 매 token (color, spacing, typography) 의 SCSS variable.
Component library: 매 mixin 으로 button/card variant 생성.
Theme switching: 매 SCSS map + CSS custom property hybrid.