Ctrl+K
Popular searches:

CSS Box Shadow Generator

v1.0.0
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
Shadow Layers
Layer 1
Offset X0px
Offset Y4px
Blur16px
Spread0px
Opacity15%
Color
#000000
Presets
Preview
#f3f4f6
  • Generate beautiful random color palettes for design inspiration and creative projects.

  • QR Code Generator
    Similar Tool

    Generate high-quality QR codes from any text with customizable options for URLs, contact info, WiFi passwords and more.

  • ULID Generator
    Similar Tool

    Generate unique ULIDs (Universally Unique Lexicographically Sortable Identifiers) for distributed systems.

  • Generate and customize Linux file permissions using chmod values to control access and security settings for your files and directories.

  • Color Converter
    Similar Tool

    Convert colors between HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, and CSS named colors. Includes a visual color picker and a browsable CSS named-color palette.

  • Generate and test cron expressions to create precise schedules for task automation.

  • UUID Generator
    Similar Tool

    Generate random UUIDs for use in databases, session management, and unique identifiers.

  • Hash Generator
    Similar Tool

    Compute SHA hashes (SHA-1/256/384/512) for text or files with quick copy outputs.

  • Generate beautiful CSS gradients visually. Supports linear, radial, and conic types with custom color stops, angle control, and ready-to-copy CSS output.

  • Beautify or minify CSS server-side. Powered by js-beautify and LightningCSS for readable output or compact stylesheets.

  • Password Generator
    Similar Tool

    Generate strong and secure passwords for your online accounts and data protection.

  • Generate Lorem Ipsum placeholder text by paragraphs, sentences, words, or bytes. Classic start and HTML wrap options included.

About CSS Box Shadow Generator

What is a CSS Box Shadow Generator?

The CSS Box Shadow Generator lets you visually design box shadows and instantly copy the ready-to-use CSS. Adjust offset, blur, spread, color, and opacity for each layer — no manual trial-and-error needed.

Understanding Box Shadow Properties

  • Offset X / Offset Y: Horizontal and vertical distance of the shadow from the element. Negative values move the shadow left or up.
  • Blur: Higher values produce a softer, more diffuse shadow. Zero creates a sharp, hard-edged shadow.
  • Spread: Expands or shrinks the shadow. Positive values make it larger than the element; negative values shrink it.
  • Color & Opacity: The shadow color. Use low opacity for subtle depth effects.
  • Inset: Moves the shadow inside the element border, creating a pressed or carved appearance.

Multiple Shadow Layers

CSS allows multiple comma-separated shadows on a single element. Layering a tight sharp shadow with a large diffuse one produces realistic depth — a common technique in modern design systems.

How to Use

  • Pick a preset or start from scratch with Add Layer.
  • Adjust the sliders and color picker for each layer in real time.
  • Change the preview background to check contrast against different surfaces.
  • Copy the generated CSS and paste it directly into your stylesheet.

Tools

Pages

Legal