Better HN
topnewbestaskshowjobs
Log inSign up

dancooke616

1 karma · joined Dec 2, 2022 (3y ago) · 2 submissions

Submissions

comment 3y ago · link · parent

poor take - tailwind is not trying to abstract CSS away from you. Abstracting away CSS would be painful and pointless - theres no way a higher-level language could emerge that would give the user the same feature parity.

You can play this "leaky abstraction" game with almost any concept, without the ability to reach down an abstraction level you lose flexibility. Its not a smell to be slightly leaky.

comment 3y ago · link · parent

This is a really poor take - the point of tailwind isn't to abstract CSS away from you. Its to structure how you write CSS.. its a CSS framework. and it does a fantastic job at allowing you to quickly build out CSS layouts with zero-runtime.

I've used pretty much every styling variation you can imagine, CSS-in-jS (styled components, emotion, component libraries), vanilla CSS, and I after landing on tailwind . I can honestly say I have never had so much enjoyment and velocity building User interfaces.