Top "Modernizr" questions

Modernizr is an open-source JavaScript library that helps you build the next generation of HTML5 and CSS3-powered websites.

Modernizr Media query doesn’t work when resize browser

I use a Modernizr media query in JavaScript to change an element margin and add a class "small". My Modernizr …

javascript jquery media-queries modernizr
How to test for nth-child using Modernizr?

I'm trying to use modernizr to test for :nth-child browser support but I'm not sure how to do it, I …

css css-selectors modernizr
Angular2 with modernizr

I am learning angular2 and building my own custom components using ng2-bootstrap. I want to use modernizer to detect …

angular modernizr
RequireJS conditional dependencies

I'm trying to define a module with conditional dependencies (depending on Modernizr test). I've done something that works but feel …

conditional modernizr requirejs
Are Modern browsers loading scripts parallel or sequentially?

I'm evaluating existing resources for script loading optimization, but I readed in some articles like this, refers to the older …

javascript loading modernizr
jquery 1.9.0 and modernizr cannot be minified with the ASP.NET Web Optimization Framework

We are using the ASP.NET Web Optimization Framework with bundles and minification. One bundle just contains jquery and modernizr. …

jquery asp.net modernizr bundling-and-minification
Include Modernizr in RequireJS and have the Modernizr in the head tags

I have a problem with RequireJS and Modernizr. I want the Modernizr resource to be on the head. And everything …

javascript requirejs modernizr
EINTEGRITY: npm 5.0 integrity check and modernizr.com dependency

I've encountered this error when installing deps of my package: $ npm i npm ERR! code EINTEGRITY npm ERR! sha1-tU7…

node.js npm npm-install modernizr
Determine whether browser supports printing

I think the answer to this is almost certainly "no", because I've done a little testing and searching around, but …

javascript browser printing cross-browser modernizr
Modernizr.touch returns true on firefox browser

I have written a peace of code to get the event based on touch and non-touch. Its working all other …

javascript firefox modernizr touch-event