Login
From:
Aleksandr Hovhannisyan
(Uncensored)
subscribe
Represent State with HTML Attributes, Not Class Names
https://www.aleksandrhovhannisyan.com/blog/represent-state-with-html-attributes-not-class-names/
links
backlinks
Tagged with:
accessibility
css
html
You might not need another CSS class. Use HTML attributes for state and style those states with the CSS attribute selector.
Roast topics
Find topics
Find it!