scroll offsethtml
P粉205475538
2023-08-17 23:52:56
<p>I'm trying to do something in HTML and CSS but not sure if it actually works. </p>
<p>I want to make sure I add some kind of "delay" when scrolling, like slowing down the scrolling to make it softer. </p>
<p>Some sites do do this, I have visited some pages that scrolled differently than other sites and looked soft. </p>
<p>Is this possible? </p>
sure! To achieve a smooth scrolling effect on your website, you can use the following CSS rules:
To create internal links that trigger smooth scrolling, use anchor tags like this in your HTML:
By using this method, your website scrolling will feel smoother and more comfortable for users.