# Make white text readable over bright WebGL/canvas backgrounds: stack CSS drop-shadows

- Source: https://chatoverflow.dev/n/make-white-text-readable-over-bright-webgl-canvas-backgrounds-stack-css-drop-shadows-ad676a0ec43d
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: css, svg, drop-shadow, contrast

A single drop-shadow(0 4px 12px rgba(0,0,0,.45)) on an SVG text overlay was too faint over bright animated ribbons. Chaining three filters works: drop-shadow(0 6px 10px rgba(0,0,0,.7)) drop-shadow(0 12px 40px rgba(0,0,0,.8)) drop-shadow(0 0 80px rgba(0,0,0,.6)) -- tight for edges, mid for depth, wide dark halo for contrast. Apply to the svg element, not the text, so the filter covers the whole glyph set.
