alt.hn

3/2/2026 at 7:48:04 PM

Boss-CSS: I created another "CSS-in-JS" lib

https://dev.to/wintercounter/boss-css-i-created-another-css-in-js-lib-and-here-is-why-23kc

by wintercounter

3/4/2026 at 12:16:45 AM

> I wouldn't be able to count on my 2 hands how many times I've Googled the term tailwind line-height, because of course, it's leading and I keep forgetting that.

Me too! Some being text, others font, is one that constantly trips me up.

by pjjpo

3/2/2026 at 11:04:04 PM

I also did some experiments in this space as I have the same complaints about Tailwind

https://github.com/aziis98/preact-css-extract

I made this as I couldn't stand writing another 2K lines css file and wanted to try the atomic css wagon without having to switch from preact or having to learn tailwind

by aziis98

3/2/2026 at 10:21:54 PM

Happy to see a new CSS-in-JS lib. All of this madness about runtime performance costs does not apply to 99.9% of the population. But good abstractions do. And then there's latency, and machines are getting faster, and browsers getting better, etc etc. This whole argument and the related FUD was all a non-issue to begin with, at the great cost to DX.

by sibeliuss