CSS with the aid of the dark side

April 17, 2006 2:02 PM
Related Categories: Web Dev

I stumbled upon this little gem of a chart.  It helps one determine which method of applying CSS will have stronger force (which will be applied overwriting a lesser force worthy css selector).

http://www.stuffandnonsense.co.uk/archives/images/specificitywars-05v2.jpg

It uses storm troopers, Vader, and Sith to help as a visual aid.

So if you can't keep track of which will take precedence in your CSS maybe this will help.


Like this entry? Subscribe to my blog.

Comments (moderation on)

Sponsors


Savvy Content Manager