Found this page recently and wanted to copy its navigation bar for my website.
As you notices, when the page loads the navigation bar uses a transparent background and is has padding. But when the user scrolls down, the bar slides up and sticks to the top. Pretty amazing!
If I'm not wrong bootstrap was used for the navigation bar itself but I have no idea how they make it slide to the top when scolling down.
Any one has any idea how this can be accomplish?
Thanks JIACHEN:)