
Reblogged by slightlyoff@toot.cafe ("Alex Russell"):
mayank@front-end.social ("Mayank") wrote:
300KB is a silly amount of CSS
it might not seem much in terms of file size over the network, but it decompresses into megabytes, of which only a very small fraction will actually get used.
you can build very very complex web applications with under 50KB CSS (compressed).
just write plain CSS if you don't want a build step 🤦
Attachments:
- Similarly, you used to be able to just download Tailwind as a giant CSS fle, but Tailwind 3 doesn't seem to be available as a big CSS file at all anymore, you need to run Javascript to build it. So I'm going to keep using Tailwind 2 for now. (I know, I know, you're not supposed to use the big CSS file, but it's only 300KB gzipped and I really don't want a build step) (remote)