Jeremiah Lee on Nostr: You don’t need JavaScript to animate scrolling to an anchor on a webpage. CSS can ...
You don’t need JavaScript to animate scrolling to an anchor on a webpage. CSS can help.
`html { scroll-behavior: smooth; }`
https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
#WebDev #CSS
`html { scroll-behavior: smooth; }`
https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
#WebDev #CSS