SPOTLIGHT
Move the cursor across this surface.
INTERACTION_007CSS + JS
Mouse Spotlight Card
A soft radial light follows the cursor across the surface.
Cards / LightView
A rotating conic gradient sits behind a masked inset surface so a single highlight orbits the border without any JavaScript.
.beam { position: relative; border-radius: 20px; overflow: hidden; }
.beam::before {
content: "";
position: absolute;
inset: -60%;
background: conic-gradient(from 0deg, transparent 70%, rgba(255,255,255,0.55));
animation: spin 4s linear infinite;
}
.beam > * { position: relative; margin: 1px; border-radius: 19px; background: #0e0e0e; }
@keyframes spin { to { transform: rotate(360deg); } }Move the cursor across this surface.
A soft radial light follows the cursor across the surface.
Blur 24px · edge light
Perspective tilt that responds to pointer position.