An open API service indexing awesome lists of open source software.

https://github.com/lana-20/sticky-navbar


https://github.com/lana-20/sticky-navbar

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

          

| [Sticky Navbar](https://github.com/lana-20/50_Projects_in_50_Days/tree/main/StickyNavbar) | [Live Demo](https://lana-20.github.io/sticky-navbar/) |
|----|----|

In this project, I am creating a sticky nav, something simple but useful.
There is a nav bar at the top of the website. I also have a hero image with an overlay.
I am styling the website a bit, but the main point is the nav bar at the top.
When you scroll down and hit a certain point, it does a few things.
It changes its color and the text color. And it lessens the padding and makes it smaller.
If you go back to the top, it turns black and adds that padding.
You can see this effect in a lot of different websites.