Image FXcssimagelab.com
Image
Studio fashion portrait in warm light

Hover the preview to widen the color fringe.

Hover · 30 / 35

Chromatic Fringe

Red and cyan channels split apart at the edges, a subtle RGB fringe that widens on hover.

Adjust
1px
4px
450ms
Metadata
interaction
Hover · static fallback
browser
Modern evergreen
reduced motion
included
touch fallback
Static on touch
Edit the CSS above — the preview updates live.

About Chromatic Fringe

Chromatic Fringe offsets red and cyan drop-shadows behind the image to fake RGB split / chromatic aberration, with a wider fringe on hover or focus. Tune --ifx-fringe for the resting offset and --ifx-fringeh for the hover offset (keep both small — 1–4px reads as tasteful rather than broken), plus --ifx-duration and --ifx-ease for the transition. The resting fringe is always visible, so it stays static and legible on touch and under prefers-reduced-motion; keep the @media (hover) wrapper and :focus-within selector so keyboard users get the hover state.

Use cases

  • portfolio
  • editorial
  • hero
  • gallery

Browser support

Modern evergreen.

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.