Bootstrap Scrollspy - examples & tutorial
mdbootstrap.com › docs › standardBootstrap 5 Scrollspy component Automatically update Bootstrap navigation or list group components based on scroll position to indicate which link is currently active in the viewport. Note: Read the API tab to find all available options and advanced customization Basic example Section 1 Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Scrollspy · Bootstrap v5.0
getbootstrap.com › docs › 5Scrollspy · Bootstrap v5.0 View on GitHub Scrollspy Automatically update Bootstrap navigation or list group components based on scroll position to indicate which link is currently active in the viewport. On this page How it works Example in navbar Example with nested nav Example with list-group Usage Via data attributes Via JavaScript Methods