Smooth movement when link is cliked to a div in same page
In top of my page I have a link e.g. mydomain.com/#prices. At the bottom, I have placed a div with an id prices.
Is it possible to add a smooth movement when the user clicks this link?
In top of my page I have a link e.g. mydomain.com/#prices. At the bottom, I have placed a div with an id prices.
Is it possible to add a smooth movement when the user clicks this link?
Comments
Hello,
Please, try to add a "scroll" class to this link and check if it is what you wanted to achieve.
Thanks
Yes, it worked! Thanks a lot!!!