Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

SCSS

< >

SCSS is a stylesheet language created in 2006 by Hampton Lintorn-Catlin.

#412on PLDB 18Years Old 335kRepos
Homepage · REPL · Twitter


Example from Riju:
body:before { content: "Hello, world!"; }
Example from hello-world:
body::before { content: "Hello World"; }
Example from Linguist:
$blue: #3bbfce; $margin: 16px; .content-navigation { border-color: $blue; color: darken($blue, 9%); } .border { padding: $margin / 2; margin: $margin / 2; border-color: $blue; }

Language features

Feature Supported Example Token
Mixins ✓ @mixin reset-list { margin: 0; padding: 0; list-style: none; } @mixin horizontal-list { @include reset-list; li { display: inline-block; margin: { left: -2px; right: 2em; } } } nav ul { @include horizontal-list; }
Strings ✓ "Hello world" "
Comments ✓ // A comment
MultiLine Comments ✓ /* A comment */ /* */
Line Comments ✓ // A comment //
Semantic Indentation ✓
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll