javascript window.innerWidth conditional statement -
i have script shows different content depending on screen size, looks this:
if ((window.innerwidth < 1250 )) { //do }
i trying set greater value less value. thought follwoing work:
if ((window.innerwidth < 1250 && > 750)) { //do }
can me out?
close:
if (window.innerwidth < 1250 && window.innerwidth > 750) {
Comments
Post a Comment