Course lesson
Style HTML with JavaScript Template Strings and Objects in CSS-in-JS
Sometimes it is convenient to be able to use both: template strings and objects. We will add a mixed mode to our CSS-in-JS function in just 2 lines of code and enable copy-pasting CSS from the dev tools.
- Duration
- 1 min
- Access
- Free
- Transcript
- Available
Sometimes it is convenient to be able to use both: template strings and objects. We will add a mixed mode to our CSS-in-JS function in just 2 lines of code and enable copy-pasting CSS from the dev tools.