Parallax Card
Holographic
Move your cursor across the card. Each element floats at its own depth.
X-ray · layers
Parameters
How this effect works
The tilt is two rotations driven by one cursor position. The cursor's offset from the card's center — normalized to -1…1 — becomes degrees: horizontal offset rotates the card around its vertical axis, vertical offset around the horizontal one. Add CSS perspective on the parent and the browser does all the 3D math for you.
The depth layers are the illusion's secret: the icon, title and text each slide a few pixels in the direction of the tilt, each by a different multiplier. Elements moving at different rates read as different distances — that's parallax, the same trick your eyes use. The gloss is a radial highlight that moves opposite the tilt, exactly where a light source would reflect on a glass surface.