News for hackers. Stuff that matters.
Re:Pico CSS – Minimal CSS Framework for Semantic HTML by nailer on Sunday September 07, 2025 @05:06PM (#45162147)
> I can't possibly recommend class based CSS soup anymore.

Me neither!

> you can simply remove or add classes as you need

That sounds like exactly what I was thinking when you said class soup.

> you don't have to dig through loads of CSS files to figure out where the CSS is

The CSS should be in your components, or in a .css file beside your components at worst. React having bad defaults doesn't need you need to change to adding 20 classes to every HTML element.

Re:Pico CSS – Minimal CSS Framework for Semantic HTML by librasteve on Sunday September 07, 2025 @06:16PM (#45162681)
this is exactly correct … Gnat CSS is a great way to police encapsulation imo
Re:Pico CSS – Minimal CSS Framework for Semantic HTML by tym0 on Monday September 08, 2025 @07:08AM (#45166870)
I've stopped doing frontend several years ago but it doesn't really feel like the trade off of the newer styling solutions vs just CSS Components for scoping are worth it.