Specificity
/ˌspesɪˈfɪsɪti/
Definition
The CSS rule determining which style wins when multiple rules target the same element — calculated from selector types.
Example in context
"The inline style wins — inline specificity (1,0,0,0) beats any class or ID selector."
Related terms
Practice this term
Master Specificity in context by working through exercises in the CSS & Frontend module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.