boxtool.io

CSS Generators

Generate CSS for box-shadow, text-shadow and border-radius with live preview. Copy CSS instantly. Free, browser-based.

Layer 1

CSS

box-shadow: 4px 4px 12px 0px #000000;

About CSS Generators

The CSS Generators suite provides visual editors for the most common CSS effects — box shadows, text shadows, and border radii — with a live preview so you see exactly what the generated code produces. Adjust sliders and color pickers, then copy the CSS snippet directly into your project.

Use Cases

  • Design a card drop shadow without writing CSS by hand
  • Create layered box-shadows for depth or neumorphic UI effects
  • Round element corners precisely for buttons, inputs, and containers
  • Add text-shadow effects to headings, logos, or display text

Tips

  • Multiple box-shadow layers can be stacked to create complex depth effects
  • Set the spread radius to a negative value to create an inset-style shadow
  • The border-radius generator supports asymmetric corner values for organic shapes

Frequently Asked Questions

Box Shadow (box-shadow), Text Shadow (text-shadow) and Border Radius (border-radius). Each generator has a live preview, interactive sliders and a one-click copy button for the generated CSS rule.

Yes. Both the box-shadow and text-shadow generators support multiple layers. Click "Add layer" to add a new shadow on top of the existing ones. Each layer has independent X, Y, blur, color and (for box-shadow) spread and inset controls.

An inset shadow is drawn inside the element rather than outside. Without inset, shadows appear as if the element is floating above the background. With inset, shadows appear as if light is hitting the inside of the element from the outside.

The four values correspond to top-left, top-right, bottom-right and bottom-left corners in clockwise order. When "Link all" is checked, all four corners change together. Uncheck it to set each corner independently.

Set all corners to 50%. For a square element, this creates a perfect circle. For rectangles, it creates an oval/ellipse. In the generator, drag the slider to 50 (the tool uses px values, so for a circle use border-radius: 50% manually).

Currently the generators output standard CSS values. For Tailwind, use the arbitrary value syntax: e.g., shadow-[4px_4px_12px_0px_#000] for box shadows. The CSS Generator (gradient tool) has explicit Tailwind output support.

Related Tools

Ad