Image FXcssimagelab.com
Filter · 21 / 40

Tilt Shift

A sharp focal band with softly blurred surroundings that turns the scene into a miniature diorama.

Image
Green natural landscape

Hover the photo to apply the effect — move away to compare.

Adjust
50%
30%
12%
7px
1.25
Metadata
interaction
Always on
browser
Modern — CSS masks
reduced motion
static
touch fallback
Identical on touch
Edit the CSS above — the preview updates live.

About Tilt Shift

Tilt Shift fakes a miniature-diorama look: a sharp horizontal focal band with the rest of the photo softly blurred and slightly saturated, as if shot with a tilt-shift lens. A ::before duplicates the image via the --ifx-src custom property — set it on the figure to the SAME url() as the img's src (the generated HTML/React does this for you) — and a masked gradient band lets the untouched, sharp <img> show through the focus zone. Tune --ifx-ts-focus (vertical band center), --ifx-ts-band (band height), --ifx-ts-feather (edge softness), --ifx-ts-blur (blur strength) and --ifx-ts-sat (surround saturation). Fully static: identical on touch and nothing to reduce for prefers-reduced-motion.

Use cases

  • hero
  • gallery
  • travel
  • architecture

Browser support

Modern — CSS masks.

Accessibility

  • Essential content is never hidden behind hover.
  • No motion — nothing to reduce.
  • Touch fallback: identical on touch.
  • Keyboard accessible — the effect also triggers on focus-within.