pages/assets/scripts/scroll-effect.js

5 lines
132 B
JavaScript

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