1. Computing & Technology

Discuss in my forum

specificity

By , About.com Guide

Definition: A test that defines how competing style rules will apply to document elements. The larger your style sheet becomes the more that specificity rules will take effect.
Pronunciation: speh sIh fIh cIh tee (noun)
Examples:
If you have two style properties on the same element, the last one defined in the document will be the most specific and take effect. For example:
p { color : blue; }
p { color : yellow }
All paragraph tags will be yellow.

©2012 About.com. All rights reserved.

A part of The New York Times Company.