Twin 101: Use Tailwind CSS + CSS-in-JS in a Next.js app with twin.macro.js. Add the Global Styles Twin comes with a GlobalStyles import that adds some base styles from tailwind together with some @keyframes for animations, and some global css variables to alleviate in your project’s root directory and add the following lines.

3m read timeFrom elvisduru.com
Post cover image
Table of contents
IntroductionInstallationPluginsNext StepsResources

Sort: