DEV Community

Discussion on: Why Tailwind CSS

mattwaler profile image
Matt Waler

You're not saving any file size though, you're just moving bytes from the HTML into the global CSS. That's what I'm trying to explain. Why would you try to reduce a singular page's filesize and move that into the global CSS for all pages? People should download only what they need, so it makes more sense to bloat the HTML because it's scoped to the page.

Thread Thread
swyx profile image
swyx Author

this is why I don't bother engaging in perf debates without a benchmark haha.