Jack Shelton (Qwik)
jackshelton.bsky.social
Jack Shelton (Qwik)
@jackshelton.bsky.social
Qwik core team
Can't believe how easy this spotlight effect was! CSS has come so far. The radial gradient x/y values animate with a spring animation on top.

Possible with @property, pointer events, and the linear() function. Props to CSS easing wizard @matthiasmartin.dev for the spring animation.
January 13, 2025 at 3:13 PM