Component · Cards

Parallax tilt card for a night walk

by Informeek Studio 11 November 2026
Live Drag the card to look around the ridge

The prompt

Design a parallax card for a guided night walk called "Kettle Ridge under the stars". A portrait card, 340px wide at most and 0.72 as wide as it is tall, 22px radius, on a deep navy page (#0d1024). Inside, an illustrated SVG scene in separate layers: a dusk sky gradient (#0f1c3d to #2f3670 to #8a5f8f to #f2a679), 80 twinkling stars, a glowing moon (#fff3d6), a far ridge with snowy peaks (#5a4f86), rolling hills (#33305f) and a near slope with pines and a small glowing tent (#ffb867). The card tilts up to 12 degrees in 3D with a 900px perspective. Each layer slides by the tilt times its own depth (0.15 for stars up to 1.2 for the near slope), so the scene separates as it turns. A chip "12 places left" floats in front at translateZ 46px and the text block at 60px: "Guided night walk" in amber (#ffc887), the title, "Fri 12 Dec, 8.30 pm" and "6 km, easy", "£24 per person" and an amber "Book a place" button that changes to a green "Place held" and drops the count to 11. Drag tilts on touch; after 2.4s idle the card sways slowly. Arrow keys tilt, Escape resets, reduced motion holds it flat.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by redrawing the scene and the event details for your own trip or venue.

About this parallax card

This parallax card turns a flat event listing into a small window. The night scene is drawn in five layers, from the stars far away to a slope of pines and a lit tent close by, and each layer moves a different amount as the card tilts. The near slope travels eight times further than the stars, which is enough for your eye to read real depth.

The title, date, price and button float 60 pixels in front of the scene in true 3D, so they stay sharp while the landscape shifts behind them. A dark fade at the bottom keeps the text readable over the hills, and the booking button updates the places left so the card feels like part of a real booking flow.

Why the prompt works

  • It gives every layer a depth number, so the separation is controlled rather than random.
  • It splits 2D and 3D, sliding layers inside the clipped scene and real translateZ for the text.
  • It writes the full event copy, including the price and the button change.
  • It sets the tilt limit and perspective in degrees and pixels.

Where to use it

Tours, events, travel deals and game or film launches. Any illustration that can be split into foreground, middle and background will work the same way.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Cards

Pixel bloom pricing cards

Live
Component · Cards

Melting album cover card

Live
Component · Cards

Team grid with a colour spotlight