Dolly

Cape Wrath

Lighthouse · Sutherland

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-dolly

About this component

A travel card whose cover does the vertigo shot: hover and the camera pulls back while the lens zooms in, so the lighthouse stays exactly the same size while the hills behind it loom up and the cliff in front falls away, the focal length counting up from 24 to 85 mm.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • Hover
  • 3D
  • Card

Techniques4

  • SVG
  • CSS transition
  • @property
  • Transform only

Accessibility

Keyboard and screen readers

An article labelled with the place; it takes focus, and focus or a tap runs the shot as hover does. The scene is aria-hidden.

Reduced motion

The shot changes without the move.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
DrosteGet code
Burn after reading

The spare key is under the blue pot. Don't tell Sam.

From J.
Burned. Nothing left to read.
EmberGet code
Lake Bledf/8 · 1/500

Golden hour · Slovenia

FlareGet code
MemberKiln & Co clubRowan HartNo. 0042 · Valid 11/27
FlexGet code