The accepted answer works until some CSS demi-god decides otherwise, as shown in the following picture. Fortunately, there is !imporrtant. [!Second equally specific CSS selector is ignored in favor of the first one.1]1