3 ms·
Moving from Tailwind to CSS Variables
- jfengel 6y agoThis seems like a really good idea to me. I haven't used Tailwind extensively, but in general I prefer to avoid preprocessors because I'm going to get exposed to the output in the browser when I go to debug it. I'm sure CSS variables are less capable than Tailwind, but they seem to solve a huge chunk of the problem with a far, far lower overhead (i.e. not invoking an extra build step). Am I missing something?
- Thomaschaaf 5y agohttps://tailwindcss.com/docs/adding-base-styles https://tailwindcss.com/docs/adding-base-styles helps with the preflight being „too aggressive"