▲ | luckylion 4 days ago | ||||||||||||||||||||||||||||||||||||||||||||||
I suppose the title should be _Minimalist_ CSS Framework. At 71kb it really isn't minimal. | |||||||||||||||||||||||||||||||||||||||||||||||
▲ | chrismorgan 3 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
Four years ago I wrote https://news.ycombinator.com/item?id=28860500: > Not fond of Pico.css’s weight, though: over 50KB, nowhere near as lightweight as the name suggests (even if it’s above-average compressible, 8KB gzipped—but I wouldn’t count even 8KB uncompressed as pico); in this case, if you flatten the variables and strip unused code, you’re left with under 4KB (~1.4KB gzipped). Lots of bloat from unused light mode support, things like form controls, and a fair bit of frivolous custom properties usage. This is the sort of place where I see the appeal of the likes of Tailwind, because they generate such huge amounts of CSS that you just about have to use an unused style remover. But it is another build step, and contrary to the deliberate intent here. And it sounds like it has grown further. I don’t see 71kb, I see 83KB (11.6KB gzipped, 10.1KB brotli). At that point I wouldn’t even call it small, and it’s even getting past medium-sized into large territory. | |||||||||||||||||||||||||||||||||||||||||||||||
▲ | kozika 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
There is also a semantic-based CSS that is overwhelmingly smaller than this one: https://newcss.net/ And I think this is so minimal | |||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
▲ | d1sxeyes 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
That’s if you load it all from the CDN though, build your own with SASS and it’s much smaller. | |||||||||||||||||||||||||||||||||||||||||||||||
▲ | drewbitt 4 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
I agree. beercss is less than 20kb and about the biggest 'minimal' I would consider | |||||||||||||||||||||||||||||||||||||||||||||||
▲ | jonahx 4 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||
Indeed. I was expecting 5-10Kb. Tbf, it's only 11 zipped. | |||||||||||||||||||||||||||||||||||||||||||||||
|