Submitted about 3 years ago
HTML, CSS and Vanilla JS Sunnyside Landing Page
@flp-pcll
Design comparison
SolutionDesign
Solution retrospective
Hello, everyone!
Any tips on the smooth scroll to anchors links in the page? I am trying to learn how to make it work in all browsers and after some researches i've found out that the CSS property does not work in Safari... js scroll({top: x, behaviour: "smooth"}) was the only solution i understood properly, but it does not work either.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord