I needed to use CSS3 rounded corners in a recent project, but it also needed to work in IE7+. I ended up using jQuery Corners which works great. It simply applys CSS3 if it is available, or does other magic if not. The problem is, it doesn't always like to work on hidden elements, layered things, etc etc. The project now requires box-shadow as well which leads me to the question.
Are there any good开发者_StackOverflow中文版 widely used "hacks" to get the basic CSS3 properties in IE7+ ? Javascript based hacks are fine, but CSS based would be great. Thanks!
You should check out CSSPIE. It does rounded corners using IE proprietary stuff under the covers.
Modernizr (http://www.modernizr.com/) might be what you're after. Selectivizr (http://selectivizr.com) is also pretty handy.
精彩评论