This week I noticed Vercel added a new scroll animation to their deployments page. My mind immediately thought this was such a nice animation that I wanted to recreate with Framer Motion. Then I thought; Why Framer Motion?! This is such a simple animation, we can do this with plain CSS!
That is exactly what we will be exploring in todays video. We are gonna recreate this smooth scroll animation with just a few lines of CSS and a single JavaScript scroll listener. Let's dive in!
Make sure to check out the live playground and code via the link below too!
✨ Become a PRO today via www.frontend.fyi/pro
🔗 Code, live playground: www.frontend.fyi/v/recreating...
#frontend #css #html #animations
20 дек 2023