Posted in Images

CuScrolling Effect

/*—————————–
ROTATE HOME IMAGE
——————————*/
/*
var rotate_img = document.getElementById(“rotate-drone”);
window.addEventListener(“scroll”, function () {
rotate_img.style.transform = “rotate(” + (window.pageYOffset / 30) + “deg)”;
rotate_img.style.right = (window.pageYOffset / 20) + “%”;
// rotate_img.style.transform = “rotate(” + window.pageYOffset + “deg)”;
});
*/