Glasses that magnify the text scrolling behind them

A pair of gold glasses sits over a marquee of text; through the lenses the words appear sharp and enlarged while outside them they're small and blurred.

By Kosta (@MotreskuKosta) · View original post

Originally built with HTML/CSS. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS.

Prompt

Build a 'see clearly' glasses lens effect for a hero section in HTML/CSS + a little JS.…

Free forever. Available for React, SwiftUI, React Native and HTML/CSS.

Build it with

Motion details

Spring
spring-based
Easing
linear
Details
Reduced-motion fallback · Blur

Keyframes

Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Six keyframes from Glasses that magnify the text scrolling behind them

Questions

How do I build the glasses that magnify the text scrolling behind them in HTML/CSS?
Copy the Kites Motion prompt for this clip (free account) and paste it into Claude Code, Cursor or Codex, or send it there in one click. The prompt describes the layout, timing and interactions, and links a keyframe sheet so your agent can match the motion. It is written for HTML/CSS and can be rewritten for React, SwiftUI, React Native.
What are the motion details?
Spring: spring-based. Easing: linear. Details: Reduced-motion fallback · Blur.
Who designed this animation?
Kosta (@MotreskuKosta) shared it on X. Kites Motion links back to the original post.

Similar animations

More text animations →