About God Rays
God Rays fans crepuscular light shafts from an off-frame source point across the image. It's a ::before built from a repeating-conic-gradient (alternating light wedges and gaps radiating from the source), softened with blur, screen-blended over the photo, and faded before the frame edge by a radial mask so the rays don't hit a hard border. Tune --ifx-gr-x (horizontal source), --ifx-gr-angle (fan rotation), --ifx-gr-op (intensity) and --ifx-gr-color (warmth). Fully static: identical on touch and needs no reduced-motion handling.
Use cases
- hero
- landscape
- editorial
- gallery
Browser support
Modern — CSS masks.
Accessibility
- Essential content is never hidden behind hover.
- No motion — nothing to reduce.
- Touch fallback: identical on touch.