Cyclomatic Complexity: Logic in CSS

Go to Source

Harry Roberts on thinking about CSS selectors as a long series of nested logic. Sometimes it’s hard for people to wrap their heads around why long, overly specific CSS selectors are problematic. When you see it as a crazy nested block of IF (SPECIFIC_CONDITION) { } blocks, it might make that more clear to some folks.

Direct Link to ArticlePermalink


Cyclomatic Complexity: Logic in CSS is a post from CSS-Tricks

Go to Source