Answers for "how to make jquery work with media queries"

1

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

Code answers related to "how to make jquery work with media queries"

Browse Popular Code Answers by Language