Laboratorio de sombras

Generador de Sombras

Crea sombras multicapa de bordes duros sin blur. Ajusta desplazamientos, extension y opacidad, y el box-shadow se actualiza en vivo.

← Volver al inicio

Copiar sombras CSS

box-shadow: 0px 12px 0px 16px rgba(11, 18, 32, 0.36), inset 0px 0px 0px 3px rgba(168, 85, 247, 0.20);

Pila de sombras

Compone capas definidas

Usa offsets para la direccion, extension para el grosor y opacidad para el volumen. Agrega capas inset para superficies hundidas.

Manten los puntos y arrastra las capas hacia arriba o abajo. El codigo de la sombra se actualiza con el nuevo orden.

#1capa
#2capa
Sombra en vivo

Vista previa de sombra dura

Las capas de offsets y extension crean profundidad grafica sin blur.

Box-shadow se actualiza al arrastrar

Desbloquea funciones Pro para tu equipo

Obtén acceso API, soporte prioritario y opciones avanzadas de exportacion. Perfecto para agencias y equipos de producto.

Acceso completo a API
Soporte prioritario
Colaboracion en equipo
Exportaciones avanzadas

CSS Box Shadow Generator Features

  • Multiple Shadow Layers — Create complex compositions by combining multiple shadows with different parameters. Add depth and realism to your elements.
  • Precise Blur and Spread Control — Adjust blur for shadow softness and spread to change shadow size. Create anything from soft to sharp shadows.
  • Inset Shadow Support — Create inner shadows for embossed and volumetric effects. Combine outer and inner shadows for complex effects.
  • Preset Collection — Ready-made shadow settings for various scenarios: soft shadows, hard shadows, neumorphism, card shadows, and more.
  • Opacity Control — Adjust opacity for each shadow separately. Create subtle or intense shadows depending on design needs.
  • Instant Export — Copy ready CSS code with support for all modern browsers. Code is optimized and production-ready.

How to Use the Shadow Generator

  1. Select a preset or start from scratch
  2. Adjust horizontal (X) and vertical (Y) offset
  3. Set blur value to control shadow softness
  4. Adjust spread to change shadow size
  5. Choose shadow color and opacity
  6. Add additional shadow layers for complex effects
  7. Copy the generated CSS code for your project

Benefits of CSS Box Shadow

CSS box-shadow is a powerful tool for creating depth and visual hierarchy in web design. Unlike images, shadows are generated by the browser, making them lightweight and scalable. They automatically adapt to element size, support animation, and can be changed dynamically via JavaScript. Using box-shadow improves site performance compared to using graphic shadows.

CSS Box Shadow FAQ

What are blur and spread in box-shadow?

Blur controls shadow softness - higher values create softer shadows. Spread changes shadow size - positive values increase, negative values decrease the shadow size relative to the element.

How many shadows can be added to one element?

Technically there is no limit, but for optimal performance it is recommended to use no more than 3-4 shadows per element.

What is an inset shadow?

Inset shadow is an inner shadow that appears inside the element, creating an embossed or recessed effect.

Does box-shadow affect performance?

Box-shadow can impact performance with a large number of shadowed elements or during animation. It is recommended to use moderately and optimize for complex scenarios.