Add class on scroll jquery

Today, We want to share with you add class on scroll jquery.In this post we will show you add/remove class when scrolling over section / sticky sidebar, hear for Add/remove class with jquery based on vertical scroll? we will give you demo and example for implement.In this post, we will learn about Simple Jquery Scroll To Top with an example.

Add/remove class with jquery based on vertical scroll?

Example 1: index.html


    This is Pakainfo - www.pakainfo.com
    
        
    
    
        
       
        
        
        
    

Add/remove class on scroll down and scroll up

Example 2:

1
//After scroll down add class box-hover
1

Example 3:
Add or remove class with JQuery based on vertical scroll


header { height: 50px }
header .menu a { height: 1.2em }
.small { height: 25px }
.small .menu a { height: 1em }

I hope you get an idea about add/remove class when scrolling over section.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment