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-59960a73a9934748450520/] [crayon-59960a73a993b428628688/] and finally...