RSSAmplifier

Ryan Seddon · Aug 17, 2012

Extreme specificity overriding a CSS ID with 256 chained Classes

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

The other day Chris Coyier created a test case demonstrating that chaining together 256 classes will give it greater specificity than an id, in theory it shouldn’t. But in IE, Mozilla and WebKit browsers it does, Opera on the other hand upholds the specificity. Not familiar with CSS specificity then take a look at Estelle Weyl’s hilariously informative specifishity chart .

Read on ryanseddon.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.