4 ms·
One problem with the approach you've pointed out is very very specific selectors. This really couples the structure of your HTML to how it displays. This work
by mark_story 15y ago
One problem with the approach you've pointed out is very very specific selectors. This really couples the structure of your HTML to how it displays. This works well for a while, but on bigger projects it has fallen down for me every time.
I've been finding that keeping my selectors no more than 3 deep is a good balance. It also forces me to abstract container styles into re-usable bits, and name things properly instead of exploiting the structure of the HTML.