Reputation:
What I want to do is use css3 for buttons if the browser supports gradients and rounded corners, and if not, use set graphics.
I have compass and coffee at my disposal.
Upvotes: 0
Views: 48
Reputation: 114447
CSS alone cannot do what you want.
Moderizr is a JavaScript utility that can help you detect which features are supported in the browser and allow you to run scripts accordingly.
Upvotes: 0
Reputation: 5733
I'm quite sure that's impossible with pure css, and compass simply translates the code to pure css. If you would like to do this, you'd have to use some type of Javascript to load different stylesheets depending on browser.
Upvotes: 1