Image FXcssimagelab.com
Image
Studio fashion portrait in warm light

Hover the preview to see the glitch.

Hover · 31 / 35

Glitch

On hover the image tears into offset horizontal slices with a channel-shifting hue flicker.

Adjust
5px
500ms
0deg
Metadata
interaction
Hover · static fallback
browser
Enhanced — clip-path
reduced motion
included
touch fallback
Static on touch
Edit the CSS above — the preview updates live.

About Glitch

Glitch tears the image into offset horizontal slices via clip-path with a hue-rotate flicker while hovered or keyboard-focused. Tune --ifx-gi for slice displacement (px), --ifx-gspeed for the animation cycle (ms), and --ifx-ghue for the channel-shift color. It falls back to a clean static image on touch and under prefers-reduced-motion; keep the @media (hover) wrapper and the reduced-motion block intact.

Use cases

  • portfolio
  • editorial
  • music
  • hero

Browser support

Enhanced — clip-path. 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: static on touch.
  • Keyboard accessible — the effect also triggers on focus-within.