CSS SPECIFICITY

A javascript function to calculate css specificity

Usage

cssSpecificity('#s12:not(FOO):not( .crazyness )');
// logs 111

Running the tests

Tests are in test/test.html