Does Modernizr.js help in showing css 3 and html 5 on older browsers and how?


Tags: javascript,html5,css3,modernizr

Problem :

I used css 3, html 5 in a web page and I want to use Modernizr to show some html5 attributes and some css 3 such as border-radius on old browsers,
Does Modernizr help in this and how run it.



Solution :

Modernizr will only help you detect certain features, so you'll have to add the JS fixes yourself.

In case you want to go for a pre-packaged solution this might be of help: https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills

In your case this might be the way to go: http://css3pie.com/


    CSS Howto..

    how can i connect my css to my JSP files stored in the WEB-INF folder? Websphere/JSP

    How to connect CSS files to my JSP pages stored in Web-Content (Dynamic Web Project)

    CSS: How to create a button with an arrow placedo on the right

    How to highlight one image over other using jquery css? [duplicate]

    How to have dots as horizontal separator with inline text like in this screenshot?

    How to create a circle and a bar that overlap with css?

    How to achieve this diagonal drop down effect with CSS?

    How to centre a
    within several other
    s (using a mixture of w3.css and css)

    How can I exclude a hover effect with CSS

    Finding correct CSS sheet when Chrome Inspector shows (index) [closed]

    How do I absolutely position a relatively positioned element?

    How can I make a Div that stays on its position?

    How to dynamically create CSS class in IE8

    CSS Tooltip has different position in different browsers. How can I account for this?

    How to position absolute in scrollable area? (Css)

    How to visually indicate current page in ASP.NET MVC?

    How to remove css and javascript code in source code of website

    how to easily develop print css?

    How to remove a specific class on the clicked control?

    How to make a wrapper for HTML, CSS and Javascript Pages in iOS

    How do I get responsive images to stay equivalent heights as they scale?

    CSS how to align elements

    How is box-shadow returned in IE9?

    How to implement .SCSS on my own website? [closed]

    how to many class share 1 css method in CSS

    How can I target text input fields with CSS?

    How do I use CSS to centre this content?

    How to change css property of content:url in jquery?

    How to align the bottom of two left- and right aligned texts with bottom of parent container?

    How to position
    below rest of elements