Future CSS Tip! 🔮 Use scroll-driven animations to create those cool Apple-style text reveals 🔥 No…
jhey ʕ•ᴥ•ʔ
Visit on X@jh3yy147K followers
348,077 views
Future CSS Tip! 🔮
Use scroll-driven animations to create those cool Apple-style text reveals 🔥
No JavaScript required 👀
Responsive too! 🙌
.sentence {
animation: highlight;
animation-timeline: view();
animation-range: cover 40% cover 75%;
}
CodePen.IO link below! 👇
10 Comments
Comments from the original post on X (Twitter)

@jh3yy
Here's that @CodePen link! 🚀 Remember, you'll need to be in Chrome Canary to see this in action. But, how exciting?! 🤯
31 likes

@shaunlevett
@CodePen This is highly erotic
5 likes

@jh3yy
@CodePen Hahaha 👏😅

@AltinSelimi
@CodePen that means it uses main thread or not ? Im confused ...
3 likes

@alimuhammadiii
@CodePen @maryam_davoudi
3 likes

@julienvanbevere
@CodePen crazy that this works with css only! maybe scroll highjacking might be considered ok now
2 likes

@jh3yy
@CodePen Yeah, it's gonna make things pretty interesting 🤓

@lucaswalder_dev
@CodePen Olha isso @evvvrado
2 likes

@santiagod_21
@CodePen @SaveToNotion #thread #css
1 like

@fradbourmont
@CodePen 😳😳
1 like