Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015
by tgv on Monday February 16, 2026 @05:38AM
(#47033437)
I don't think "separation of concerns" is entirely dead. Ideally, the CSS is readable and maintainable, and that implies structure. If you have a bunch of (co-)related components, you don't want to find/replace tailwind class names when you need to change the layout. So you separate that part of the layout in classes based on (layout!) functionality. You can see that as "concerns."
[ Parent
| on HN ]