Skip to main content
Home

Tagged “sass”

Kicking Sass to the curb

Sass has been my go to CSS preprocessor for years, but with a recent CSS feature boom, it’s a good time to revisit whether or not I can lean completely on native CSS for all my Sass.

Read more of Kicking Sass to the curb

Share variables between JavaScript and CSS

Whether you need site breakpoints for matchMedia or access to theme colors, sharing values between your JavaScript and CSS is sometimes unavoidable. The easiest solution is to copy and paste values, but how can you ensure values stay synchronized when that brand blue color changes to indigo?

Read more of Share variables between JavaScript and CSS