224

Bokeh Lights

Soft-focus light spots of various sizes drift up and fade in and out

BackgroundIdle loopBackground decorHeadline & heroCSSCSS blur

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A dozen or so round soft-focus light spots of various sizes float in the background, each drifting up from below at its own speed (about 7–14 s), swaying slightly sideways, fading in as it appears and out near the top, each at a different opacity, for a dreamy, warm mood; the title in the middle stays clear. (CSS: each spot sets its size, horizontal position, duration, negative animation-delay and sway via CSS variables, with filter:blur and keyframes for translate and opacity)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More background effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →