Generador de sombra de texto CSS gratuito
El Generador de text-shadow construye efectos de sombra de texto CSS con vista previa en vivo. Define el desplazamiento, el desenfoque y el color, luego copia el CSS.
Text effects sit beside the CSS Box Shadow Generator and the CSS Filter Generator. When the effect is used on coloured text, the Color Contrast Checker is what confirms it is still readable.
Cómo usar Sombra de texto
- 1 Set the horizontal and vertical offsets.
- 2 Set the blur radius — a small value keeps letters legible, a large one makes them look smudged.
- 3 Choose a colour, and reduce the opacity so the shadow reads as depth rather than a duplicate.
- 4 Copy the declaration. For a readable outline, add several shadows in opposite directions.
Cómo usarlo
Mueve los deslizadores para posicionar y suavizar la sombra, elige un color y copia el CSS generado. Una vista previa en vivo muestra el resultado sobre un texto de muestra.
- Controles horizontal, vertical y de desenfoque
- Color de sombra ajustable
- Vista previa en vivo sobre texto de muestra
Preguntas frecuentes
How do I create a text outline with text-shadow?
By stacking four shadows, offset in each of the four directions by the same amount with no blur. That traces an outline around every glyph. It is the standard technique because CSS has no direct text-stroke that works reliably across browsers with good rendering quality.
Why is my shadow making the text harder to read?
Because a large blur directly behind text lowers the contrast between the letters and what surrounds them. A shadow is meant to separate the text from the background, and past a certain blur it does the opposite by filling the gap between strokes. For readability, keep the blur small and the shadow darker than the background.
Can text-shadow be animated?
It can, but not cheaply. Changing a shadow requires repainting the text on every frame, so an animated shadow is a poor use of the painting budget. Animating the text's opacity or colour is far cheaper and usually achieves the effect you wanted anyway.
Herramientas para desarrolladores relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Sombra de texto: