Creating Stylesheet Feature Flags With Sass !default

3 · CSS-Tricks · May 14, 2021, 3:27 p.m.
!default is a Sass flag that indicates conditional assignment to a variable — it assigns a value only if the variable was previously undefined or null. Consider this code snippet: $variable: 'test' !default; To the Sass compiler, this line … The post Creating Stylesheet Feature Flags With Sass !default appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter....