Hacker News new | ask | show | jobs
by tipiirai 975 days ago
Extra divs are wrappers that help you style the parent element to add flex layouts for example. Or why do you think the official Tailwind template has so many nested divs with utility classes?
1 comments

Sure but how would normal css make it so you don't have to use those?
Maybe check out the semantic CSS example using developer console:

https://nuejs.org/@spotlight/