Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015
by raincole on Sunday February 15, 2026 @11:32PM
(#47030919)
As a developer you maintain the source templates, not the compiled/generated HTML. The HTML is messy doesn't mean the source templates are so.
Semantic web is basically "please think of the crawlers."
Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015
by xmprt on Sunday February 15, 2026 @11:29PM
(#47030904)
Except that as a developer you have access to the original source code where things are well structured. It only turns into div soup after the React/Vue code gets compiled down to HTML+CSS+JS that can run on any browser.
Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015
by zeroCalories on Monday February 16, 2026 @02:34AM
(#47032031)
Besides the points raised here, I think it's worth noting that using stuff like the article tag does not necessarily make things easier to maintain. You do indeed get a lower line count, but you're coupling the structure and meaning. Sometimes that's fine, but a11y can be tricky to get right and it's often easier to push it off until you've got something working first.
As a disabled user with a screen reader, I might care.
As a developer tasked with maintaining it after the original dev left, I most certainly would care a great deal.