How to Get a CSS Variable with JavaScript and Set One TooWhile working on a redesign, I needed a way for JavaScript to get the value of a CSS variable to determine the state of a page. Lucky for us, there is a browser compatible and easy method.
Add Imports to Tailwind CSS with PostCSSI've been enjoying Tailwind CSS as my main CSS tool for building components. One thing missing by default was how to use @import.