Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Convert Sass (SCSS) Styled Button to CSS-in-JS with JavaScript Templates and Variables


    This is an introduction to CSSinJS that doesn't require any JavaScript knowledge, just a basic CSS.

    It shows how to convert a very basic button written in Sass (SCSS) to CSSinJS without using any CSS in JS libraries. It uses native JavaScript variables and template literals.