Just to repeat/emphasise: this is the magic bullet of CSS. Avoid the cascade entirely. Only select on a single distinct class name.https://twitter.com/eevee/status/963946628984987650 …
This makes it trivial to determine where a selector is used and whether it is still used at all. Rather than trying to dynamically predict every possible DOM structure your app could output, you just use `grep`
-
-
It also makes it very easy to determine why a given DOM element has that final styling. Just look at its CSS classes and those of its ancestor elements.
Show this thread -
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.