Skip to main content
Question

Can I make a fixed navbar change background opacity on scroll?


James_Mentz

I have a fixed navbar that has a background opacity of 0% to allow hero content to show through it. On scroll, I would like to change that opacity to 95% so that the white navbar background is visible above the page content as it passes under it.

Tried a whole lot of interaction workarounds for this but just can’t seem to make it happen! Any tips would be very much appreciated.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings