Follow

RT @umaar@twitter.com

JavaScript Tip ⚡️ You can smooth scroll to an element with zero dependencies:

el.scrollIntoView({
behavior: 'smooth'
})

🐦🔗: twitter.com/umaar/status/12605

· · Mastodon Twitter Crossposter · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!