Simple “scroll to/down” effect using minimal markup and hash tags
I am making a one page site that has a classic navigation at the top. Right now I have links set up as hash tags in order to navigate within the page: <nav> <a href="#about">About</a> </nav> ... <section id="about">...</section> Obviously, this works but the jump to the about section is instant and not gradual. I am looking for an extremely simple implementation in order to make a gradual transition. I don't want anything fancy. No axis, offset, or any other options. I just want the scroll transition to be gradual. The only setting I want is the time it takes to finish the scroll. Also, I want