About Letterbox
Letterbox lays matte bars across the top and bottom of the frame with two pseudo-elements, cropping the photo to a cinematic aspect and seating a subtitle-styled caption in the lower bar. Tune --ifx-lb-size for the crop ratio (bar height as a percentage), --ifx-lb-color for the matte tone (try a deep navy or warm near-black), and --ifx-text for the caption color. The caption is in normal flow and always visible — never hover-gated — so essential text is never hidden, and it renders identically on touch. It works best on wide, landscape subjects.
Use cases
- hero
- editorial
- film
- portfolio
Browser support
Modern evergreen.
Accessibility
- Essential content is never hidden behind hover.
- No motion — nothing to reduce.
- Touch fallback: caption always visible.