Friday, May 13, 2016

Conditional javascript based on windows size

Use the following js:

if ($(window).width() <= 480) {
         //add your code here
};

No comments:

Post a Comment