Lab #37
In this lab, we have to add a sticky nav bar that would stay on the top of the page with a hidden logo when scrolling. The reason we are doing this lab is to show creative ways to make a navigation bar. To do this, we have to make a regular nav bar with 4 bars. Then there is a hidden <li> that is hidden with 0 width. Once we add the function for scrolling down, then the width of the hidden <li> would increase to a certain width. Also be adding the sticky position to the navigation bar, then it would always stay at the page. I learned around the way to properly make a navigation bar.
Comments
Post a Comment