How did you make it returns to transparent again after scrolling back to top?
There’s a small problem. When the page is scrolled, the bar turns white. But when cursor hovers and moves away, it will returns to transparent even the page is not scrolled to the top yet.
Besides that, we will need to change the color of elements on the nav bar as well as it changes background color, eg. white on transparent, black on white… no idea how to archive this as well.
wow! it works very well
It looks like I can understand how did you achieve this. You used an invisible div to trigger the interaction.
Thanks a lot.
The reason why the mobile nav does not work is beacuse “NavbarWhite” is overlaying on top of the burger button. It looks like not a easy fix. But anyway, it’s so great that the sample inspired me.