- I want to set a navigation bar, then link to each section, and then when you slide down the page to that section, the corresponding navigation will change color. The effect is as follows
.]
then I found out that during the internship, the css was
..site-navbar-light.scrolled .nav-link.active {
color: -sharpFDA403 !important;
how is this active realized? slide to that block and then active. Does this involve the js side, rookie, please ask for advice, thank you!