pages/assets/scripts/scroll-effect.js

6 lines
176 B
JavaScript
Raw Normal View History

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