How can I get anchor scroll horizontal effect?

Hello! I have one thing thats blocking me a bit and its…the scrolling. I need a bit of direction because I’m unsure of what I need to even create this effect and if there’s already something in the script i have that i could add onto.
I really just wanted a smooth anchor scroll to the next page with no clicking.
Reference
My horizontal site

You can scroll to the next page using scroll-behavior:smooth which can be activated via an anchor with fragment identifier. If you want it to snap to a boundary then you can use scroll-snap-type.

I’ve quickly added it to a previous question you asked about something similar.

https://codepen.io/paulobrien/pen/abqGowo

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.