javascript screen size
var w = window.innerWidth;
var h = window.innerHeight;
javascript screen size
var w = window.innerWidth;
var h = window.innerHeight;
javascript easy resize for screen size
//https://cdnjs.cloudflare.com/ajax/libs/enquire.js/2.1.6/enquire.min.js
// this code allows for an Obj instance to run methods on - to call code when a screen change occurs
class ScreenSize{
addCSS(maxOrMin, screenSize, element, style, change){
enquire.register("screen and ("+maxOrMin+"-width: "+screenSize+")", ()=>{
document.querySelector(element).style[style] = change;
});
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us