Wednesday, December 31, 2014

CSS SPECIFICITY

In SharePoint when we write our own css classes sometimes we have to override some styles in corev4.css. Specificity is one of the techniques we use in style overriding. Also it would help to keep a clean stylesheet. Found some articles regarding specificity. One of them talks about calculating css selector value. Take a look.

references :
http://css-tricks.com/specifics-on-css-specificity
https://developer.mozilla.org/en-US/docs/CSS/Specificity