pages/assets/scripts/scroll-effect.js

6 lines
139 B
JavaScript

$(window).scroll(function (e) {
oVal = ($(window).scrollTop() / 170);
$(".blur").css("opacity", oVal);
});
$("#motto").fitText();