diff --git a/index.html b/index.html index b36fda6..8c61069 100644 --- a/index.html +++ b/index.html @@ -2043,6 +2043,18 @@ $('body,html').animate({scrollTop: top}, 1500); }); + $(window).on("scroll", function () { + if ($(window).scrollTop() > 0) { + $(".burger").addClass("burger--follow"); + } else { + $(".burger").removeClass("burger--follow"); + } + }) + $(".burger").on("click", function (e) { + e.preventDefault(); + $(".header_top").toggleClass("header_top--open"); + }); +