Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Cambiar el color de texto al hacer scroll css

$(document).ready(function(){       
        var scroll_pos = 0;
        $(document).scroll(function() { 
            scroll_pos = $(this).scrollTop();
            if(scroll_pos > 210) {
                $('.hvr-reveal').css('color', '#000');
            } else {
                $('.hvr-reveal').css('color', '#fff');
            }
        });
    });
Comment

PREVIOUS NEXT
Code Example
Css :: gradient background image 
Css :: preloader css 
Css :: ease in out 
Css :: css hover affect other item 
Css :: css scroll fixed content 
Css :: hr vertical en html 
Css :: border-style css 
Css :: bootstrap class="mb-3" 
Css :: css grid column 
Css :: apply margin to all child elements 
Css :: align centre 
Css :: change button shaddow css 
Css :: css transition on click 
Css :: css add circle to icon cart 
Css :: .col-12 bootstrap 
Css :: .txt:hover { text-decoration: underline; } 
Css :: background css 
Css :: css class and id selector 
Css :: how to style navbar-toggler-icon bootstrap 5 
Css :: animations 
Css :: css forbidden cursor 
Css :: change image color with css 
Css :: tailwind css margin auto 
Css :: increase clickable area css 
Css :: css wrap text 
Css :: nmap output ip only 
Css :: loading screen html 
Css :: image transparent 
Css :: background image causes webpage scrolling slow 
Css :: css3 ripple loop 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =