Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I kind of agree but the same problem exists. If you add text-xl to a div and have nested divs and spans, they'll all be inheriting text-xl so for these nested elements, you also have to look up the element's lineage to find what's causing the text-xl.

But overall it's a bit easier yes.



That's the css cascade, not a tailwind issue.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: