CSS Browser Selectors
# Linked to 6 December 2009, 14:59 in Code by Kevin Holesh
CSS Browser Selector is a very small javascript with just one line which empower CSS selectors. It gives you the ability to write specific CSS code for each operating system and each browser.
Example:
.ie .example { background-color: yellow } .ie7 .example { background-color: orange } .gecko .example { background-color: gray }
Think of the potential use of these classes to target modern browsers for advanced CSS3 properties while still styling an older browser like IE6 in an appropriate and compatible way.
Tweet Subscribe to the RSS Feed →