+ 1
How i can scroll each section in separete parts ?
16 Réponses
+ 1
Hi Insomnio L
Do you mean something like a parallax effect?
+ 3
Try this
<style>
html {
scroll-behavior: smooth;
}</style>
https://code.sololearn.com/WcYC29S75Rh0/?ref=app
+ 1
smooth scroll using JS and your links (I didn't notice them the first time, as well not seeing your smooth scroll requirement ;P)
https://code.sololearn.com/WLghY2u82d7f/?ref=app
0
No
0
I mean to scroll
0
I think that is with a position
0
I’m still confused by what effect you want. Could you describe it or post a link to a website that shows the effect?
0
It is not a effect
0
I only want to scroll
0
I want to scroll only 1 class
0
Wait so when you click the links you want it to scroll to it rather than jump?
0
Yes
0
When i click the links i want to scroll only the class of the link where i am
0
This might help you although you will need javascript. Sorry i can’t help you more as iphone browser (safari) doesn’t support scrool options. :(
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
0
Superb