may88seiji
7/22/2017 - 8:42 AM

matchMedia

matchMedia

if ( window.matchMedia('screen and (min-width:768px)').matches ) {
  
} else {
  
}