Jump to content
Search Community

Navigation Bar ScrollTTrigger

fernandocomet test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

The idea is:

- When the section is white have NavBar with tomato background color

- When the section is black have NavBar with transparent background

- When the section is over "darkhero" NavBar is blue


I think my OnLeave event is not working. How can I improve this?

Thanks in advance

See the Pen dywJXLB by fernandocomet (@fernandocomet) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...