Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Css modules gets away from the larger sins of the massive global css files.

If modules had existed much earlier it probably would’ve gotten rid of most of the awfulness.

 help



CSS Modules are way older than Tailwind, but alas it was not enough

Oh, great. So let’s just 2x all our files then! All for, what exactly?

It sounds like you just want to write Java.


If you have a complaint about your styles being so complicated and in a giant 900 line mega file, I don’t see how you address physical size other than breaking up the file.

Granted, nesting support was also added fairly recently in the grand scheme of things, which boggles the mind given how it was such an obvious problem and solution that CSS preprocessing came about to address it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: