Generators · Tool
CSS Box Shadow Generator
Enter offsets and sizes in pixels, a hexadecimal color, and an opacity percentage.
How to use it
- Enter offsets and sizes in pixels, a hexadecimal color, and an opacity percentage.
- Run the tool, then copy the result if needed.
How it works
Horizontal and vertical offsets and spread can be negative. Inset places the shadow inside the element.
Use it for
- Copy a reusable shadow declaration for a card or panel.
Questions
Does this run locally?
Yes. This tool processes its inputs in your browser.