Hacker News new | ask | show | jobs
by croes 1748 days ago
As I understand it it's not about the value but that first a rule is applied to all elements and then a new rule overwrites the previous rule for some element, the last one in that example.

To quote the article referenced in the article: "I call this technique disabling selector since the li:last-child selector disables the previous selector's rule."

So the 10px margin for the last element is a disabling selector.