kelly-sikkema-IkHwu5xLXxs-unsplash
balazs-ketyi-aaCuRsb7aUc-unsplash
efe-kurnaz-RnCPiXixooY-unsplash
ezgif.com-gif-maker
ecec1f28ab84e48109f49d
e7cc52f130cab37b9860f95aa3b65509
9162b2a88f250c582fb32451ef897e39
265d374121b594c45911fd437ab7c726
8716f4877e967c17fb5d12
7d2538724ed886db42a64e
97fb947058f33e12ba45db
8a004490051438f4d6ed05
9f4a71441871678eb4db02
8bc6456e008302ae560320977ce8bc2d
desktop-mobile-07
desktop-mobile-09
View
window.addEventListener( 'load', function() { var logo = document.getElementById('logo'), docHeight = document.documentElement.offsetHeight; window.addEventListener( 'scroll', function() { // normalize scroll position as percentage var scrolled = window.scrollY / ( docHeight - window.innerHeight ), transformValue = 'scale('+scrolled+')'; logo.style.WebkitTransform = transformValue; logo.style.MozTransform = transformValue; logo.style.OTransform = transformValue; logo.style.transform = transformValue; }, false); }, false);