Answers for "how to know the width of the media screen in javascript"

0

if media query jquery

$(window).resize(function() {
  if ($(this).width() < 1024) {
	// your code
  } else {
    // your code
  }
});
Posted by: Guest on April-28-2020
0

device width js

window.screen.availWidth
Posted by: Guest on July-26-2020

Code answers related to "how to know the width of the media screen in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language