The CSS selector `bar .foo:last-child` is surprising. It only ever applies to the last child of bar, iff it has the class foo.
miniblog.
Related Posts
It's so hard to reason about a substantial inheritance hierarchy. Child classes can access state in the parent, so they're no simpler.