pages/assets/scripts/scroll-effect.js

5 lines
176 B
JavaScript

$(window).on("scroll", function (e) {
oVal = $(window).scrollTop() / 75;
$(".blurred-container .img-src").css("filter", "blur(" + oVal + "px)");
});
$("#motto").fitText();