document.getElementById("tc-d").style.transform="scale(1,1) translate(190px, -222px)"; //* You can also try the following *// document.getElementById("tc-d").style.position = "absolute"; document.getElementById("tc-d").style.left = "4in"; document.getElementById("tc-d").style.bottom = "-1in"; document.getElementById("tc-d").style.padding= "90px"; document.getElementById("tc-d").style.paddingBottom = "90px";
//up and down (locked) document.getElementsByTagName("body")[0].style.position = "fixed" //left and right (locked) document.getElementsByTagName("body")[0].style.overflow = "hidden";
document.getElementById("tc-d").style.transform="scale(1,1) translate(190px, -222px)";
//* You can also try the following *//
document.getElementById("tc-d").style.position = "absolute";
document.getElementById("tc-d").style.left = "4in";
document.getElementById("tc-d").style.bottom = "-1in";
document.getElementById("tc-d").style.padding= "90px";
document.getElementById("tc-d").style.paddingBottom = "90px";
//up and down (locked)
document.getElementsByTagName("body")[0].style.position = "fixed"
//left and right (locked)
document.getElementsByTagName("body")[0].style.overflow = "hidden";