Modernizr, html5shiv, ie7.js, and CSS3 Pie. Which to use and when?

后端 未结 3 1471
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 10:30

I\'m just starting to use HTML5 and CSS3 in my documents. I understand the need for JavaScript to bring Internet Explorer up to speed with these new tags and styles, but I

3条回答
  •  感情败类
    2020-12-12 10:41

    I would recommend you use only what you need. Build your app in a browser that supports the features you are using, and periodically test in other browsers that you support. If something isn't working correctly, find the appropriate fix, whether it be html5shiv, IE9.js, Modernizr, or CSS3 Pie. You are not going to use all of the new features in HTML5 and CSS3 all in one page, so you don't need to include every polyfill library in existence. Wait until you find problems with the features you're trying to use, then try and find the library necessary to do that.

提交回复
热议问题