Posts matching Modernizr

1 result


Add the <main>-Element to Modernizr 2.6.2

Modernizr

We don't need this anymore With Modernizr v2.7.0 we don't need this work around anymore. Please update to this version if you use <main>. tl;dr: You can add the new main-element to Modernizr 2.6.2 by using HTML5 Shiv's window.html5 option to add your own elements to the shiv. Since I use some bleeding edge stuff in HTML and CSS in actual projects for clients I ran into one particular issue a couple of times lately and I thought I share a little workaround with you. Modernizr's current state Modernizr includes HTML5 Shiv to make HTML5 elements like header, figure and

Read this Article