Skip to content
loading...

re: 💨Super Quick CSS: Smooth Scrolling VIEW POST

FULL DISCUSSION
 

I was playing with your code (on codepen.io) and i didn't see any difference between using that line and not using it. I don't know, maybe i am too noob or my browser (chrome) is the problem.

In the second case, ¿what browser can i use for it? Thanks for repplying me.

 

I tried chrome mobile and desktop and it works - I wonder why the effect persists even if you remove it though

 

Did you make the changes via CodePen or locally? As could be a caching issue. My other CodePen without the property works as expected.

 
 

I've added some animated gifs to show the before and after UX of applying the scroll-behavior: smooth property. Hopefully this'll make it clearer if your browser doesn't support this feature.

After - With Smooth Scrolling

After - With Smooth Scrolling
 

Oh i get it. What i was doing is scrolling with my mouse. I didn't clicked the links. I already see the difference. Thanks for the GIFs.

Glad adding the GIFs cleared up what was happening.

code of conduct - report abuse