Image FXcssimagelab.com
Mask · 48 / 68

Pixel Dissolve

A solid veil covers the photo, then dissolves in a grid of growing holes on hover — every cell clearing at once.

Image
Green natural landscape

Hover to dissolve the veil away.

Adjust
8%
0.95
800ms
Metadata
interaction
Hover reveal · visible on touch
browser
Enhanced — @property
reduced motion
included
touch fallback
Fully visible on touch
Edit the CSS above — the preview updates live.

About Pixel Dissolve

Pixel Dissolve hides the photo behind a solid veil that dissolves in a grid of growing holes on hover or keyboard focus — every cell clearing at once for a pixel/dot dissolve. The veil is tiled with a repeating radial-gradient mask whose transparent hole grows from nothing to past the tile's farthest corner; that hole size is an @property-registered <length-percentage> (--ifx-pixel-hole) so it can transition smoothly, which makes the effect enhanced support. Tune --ifx-pixel-cell for the grid size (smaller = finer dissolve), --ifx-pixel-color and --ifx-pixel-op for the veil, and --ifx-duration/--ifx-ease for the dissolve timing. The whole veil lives inside an @media (hover) block, so touch devices and reduced-motion users see the fully uncovered image — never hide essential content behind it.

Use cases

  • gallery
  • portfolio
  • feature
  • hero

Browser support

Enhanced — @property. This effect uses an enhanced feature — provide a graceful fallback for older browsers.

Accessibility

  • Essential content is never hidden behind hover.
  • Includes a prefers-reduced-motion fallback.
  • Touch fallback: fully visible on touch.
  • Keyboard accessible — the effect also triggers on focus-within.