3 ms·
Makes sense. The idea that markup and CSS shouldn’t be coupled has been thrown out in recent years, and using extremely specific selectors is sort of what CSS m
by tobr 7y ago
Makes sense. The idea that markup and CSS shouldn’t be coupled has been thrown out in recent years, and using extremely specific selectors is sort of what CSS modules and CSS in JS is all about.
I wonder how flexible it is, though - you’d need to use the direct descendant selector or it all goes haywire, but that may not always be enough.