Overriding CSS properties for a specific html element
That’s a CSS specificity issue. .main_section article has a higher specificity value than .special-bg selector. In terms of value: Inline Style > IDs > Classes, Attributes, and Pseudo-classes > Element Types and Pseudo-elements, So the calculation of Specificity of these two CSS selectors would be: .special-bg Inline Style ID (Pseudo-)Class (Pseudo-)Element 0 0 1 0 … Read more