Category: Modernizr

Post

Creating media queries using Modernizr and jQuery

Modernizr can do lots of things – one of them is the ability to mix media query function with jQuery functions. Although there are other ways to achieve this, even (or especially) within jQuery itself, if usingĀ Modernizr for some other things on your website, you can try something like the following: [crayon-59e548bb60a37905742679/] [crayon-59e548bb60a3c255080990/] and finally...