I have extensive experience working with all of these, using them for several years each.
Modernizr
Enables functionality HTML5shiv Also does a lot more - if you do not use other functions, then do not use it, it slows down the loading of pages, but is worth it if you need it!
HTML5shiv
Very little, just fix html5 elements in IE, nothing more.
CSS3PIE
Allows the use of border radius, gradients and shadow in older versions of IE. It can also enable PNG in IE 6. Adds a noticeable delay to the page loading.
ie7.js (and ie9.js)
Gives you lots of CSS3 selectors, minimum and maximum widths, multiple classes, and fixed positioning. Also, if you want, png can be fixed. It does not seem to interfere.
Conclusion
My advice is divided into two categories:
If you just use new (two years on the Internet!) Elements and CSS3 selectors, use ie9.js + html5shiv. It is lightweight and simply allows you to do things without forgetting that IE6 does not support anything.
If you use a lot of CSS3 stuff, then CSS3PIE will sort the border radius and shadow box. Gradient support seems a bit flaky, so I always used a backup image. Modernizr allows you to easily provide various properties to browsers with various support. I mainly used this to determine if the browser has CSS transitions and transformations, as they are useful for any image slider or content carousel. Itโs worth using the configuration tool to include only those functions that you want - the webforms material displays a text field with 50 in it for a few milliseconds, so itโs worth disconnecting if you do not want to.
Hope this is helpful!
Rich Bradshaw Apr 14 2018-11-11T00: 00Z
source share