-3

I'd like to add a scroll effect whereby instead of jumping instantly to the anchor down the page, when you click a link at the top it rolls smoothly down the page. Haven't had any luck yet. It's common in bootstrap websites:

bootsrap template

acl77
  • 341
  • 4
  • 17

1 Answers1

0

You can use this for example: https://www.solodev.com/blog/web-design/adding-an-animated-scroll-down-anchor.stml

Basically, you want to play with the scroll (controller via javascript) to me smoothly to the final position (anchor position). There are many ways you can achieve that.

There's also this post here about it: Smooth scrolling when clicking an anchor link

Javier Cobos
  • 1,172
  • 10
  • 22