Specificity of inherited CSS properties

Any declaration that matches element directly will get priority over the property that’s inherited from the element’s parent. Specificity has nothing to do with that.

Leave a Comment