Matt Snider JavaScript Resource

Understanding JavaScript and Frameworks

Saturday, July 28, 2007

Specificity

You are probably asking yourself, what is specificity and how does it apply to JavaScript?

Specificity is the measure of importance associated with a CSS declaration. This is one of the technologies that makes cascading stylesheets so powerful. If you find yourself attaching classes and not seeing the styles applied, then it is probably a specificity issue. Anyway, Smashing Magazine wrote a really good explanation. Check it out:

CSS Specificity: Things You Should Know

posted by Matt Snider at 11:56 am  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress