The font becomes smaller while scrolling

Article

The font becomes smaller while scrolling

Hi all! how was your Monday??

What I'm sharing in this post today is that I successfully recreated an animation where the font size decreases as you scroll down. I've come across this type of animation frequently recently and wanted to try recreating it myself.
This animation can be applied not only to fonts but also to images or other elements, creating a wow effect for users. :)
My next experiment involves adding an element and rotating it using the transform3d property. I'm excited to see how it turns out!



Hope you got inspiration from this post and share yours on twitter :)

Matane!