A tutorial on changing a Bootstrap navigation bar's background color with a CSS transition as the visitor scrolls down the page. It uses HTML, CSS and jQuery and is aimed at people building web interfaces who are new to this kind of customization.
What you’ll learn
✓Add a scroll listener with jQuery to detect when the page is scrolled
✓Animate a Bootstrap navbar's background color with a CSS transition
✓Customize Bootstrap navigation styles with HTML, CSS and JavaScript