Answers for "media query for mobile in jquery"

CSS
7

How To Use Media Query Using Jquery

if (window.matchMedia('(max-width: 768px)').matches)
{
    // do functionality on screens smaller than 768px
}
Posted by: Guest on July-08-2021
66

media query for mobile view css

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
}
Posted by: Guest on December-06-2019

Code answers related to "media query for mobile in jquery"

Browse Popular Code Answers by Language