I have a website that in css, have these statements for the body:
body {
background: #fab52d;
font-family: Montserrat, Helvetica, Arial, sans-serif;
font-size: 1.6rem;
color: #FFFFFF;
overflow: hidden;
}
In the following link, you can see how the site is (landing page). Its height is fixed at 100vh.
However, I wanted to add a class to the body when the user tried to scroll the page down, and to remove that class when trying to scroll up (of course it will not, because the page does not have scroll, addition and removal of the class would be to give the effect of page exchange).
I tried something with jquery type:
$(window).scroll(function() {
// código aqui
}
However, this jquery only works when overflow is not hidden.
Is there anything I could do to achieve the desired effect?