Skip to content

Collection - Specificity

Specificity resources »

The Specificity Graph »

As we all (should) probably know by now, specificity is is one of CSS’ most troublesome features, and is an area that soon becomes hard to manage on projects of any reasonable size. Specificity is a trait best avoided, which is why we don’t use IDs in CSS, and we don’t nest selectors unless absolutely necessary.

From CSS Wizardry.

Naming UI components in OOCSS »

One of the biggest—if not most common—complaints about OOCSS is its use of ‘insemantic classes’. Unfortunately, the idea that classes are semantic (in the HTML sense of the term) is something of a fallacy.

From CSS Wizardry.

Popular topics

On development

On best practice

On content strategy