Reputation: 2261
I'm dealing with crossbrowser issues... So I׳m looking for the best and clean CSS One of the most important issues is the "IF" statements for each browser
Upvotes: 1
Views: 114
Reputation: 13853
CSS, in and of itself, does not have "if statements".
Internet Explorer browsers do have conditional comments which provide a simple way to deliver code (HTML, CSS or JavaScript) to different versions of IE.
Other browsers don't really have anything like that, though there are browser vendor specific declarations like -moz-border-radius and -webkit-border-radius.
Upvotes: 0
Reputation: 10467
Take a look at this page:
http://www.conditional-css.com/usage
It contains every information you'll need.
Upvotes: 3