A cure to the madness, an easing of the CSS browser pains!
Rafael Lima took inspiration from 37 Signals browser selector idea and created it. “It” being a JS library that allows you to create browser specific CSS to be merged into your normal classes.
The example given shows clearly how it works on the CSS side, for JS file (current version is 0.1.7) actually does the hard work for you.
It currently supports the following browser codes:
- ie – Internet Explorer
- ie6 – Internet Explorer 6
- ie5 – Internet Explorer 5
- gecko – Mozilla, Firefox, Camino
- opera – Opera
- konqueror – Konqueror
- webkit or safari – Safari, NetNewsWire, OmniWeb, Shiira
A very cool step in the right direction, seeing as how standardizing CSS across every browser still doesn’t seem to be happening very well…