General
specificity calculations definition
Specificity refers to the weight of a selector ( its importance), along with the declarations related to the selector. The values of specificity are cumulative with the values organized from right-to-left in importance. A declaration is given more weight with the !important directive as opposed to non-important declarations. The declaration keeps the specificity of its selectors; it is taken into account only as it relates to other important declarations.