开发者

How to check if browser supports css3 rounded corners and svg

Basically i have web site where i want to check if client browser supports rounded corners and svg as well and if not i want to show the message that for best user experience is better to use the latest browser.

So how could i check for that?

UPDATE:

I just found such library called Modernizr, is it pos开发者_如何学JAVAsible to us that to check for that things?


I'd recommend using Modernizr; I've found this the easiest way to detect features: Modernizr

On a side note, you can provide some CSS3 features to IE users by using CSS3 Pie. This includes an HTC file on the page that replicates these effects: CSS3 Pie

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜