Submit a CSS related link →

Posh CSS

For the modern day web designer.

CSS Browser Selectors

# Linked to 6 December 2009, 14:59 in 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.

Read more at rafael.adm.br →

Kevin Holesh

Kevin Holesh is a freelance web designer and usability guru. He blogs at I Love Usability and you can follow him on Twitter @kevinholesh.