How to use Box Shadow Generator
- Adjust the controls until the preview looks right.
- Copy the generated CSS from the code box.
- Paste it into your stylesheet.
The box-shadow property
This generator writes box-shadow for you. The example below is one output the tool can produce.
Adjust offset-x, offset-y, blur, spread and colour to change the result.
box-shadow: 10px 10px 24px rgba(28, 27, 41, 0.25);
Using the CSS
Paste the copied CSS into your stylesheet, or convert it to Tailwind classes where the tool offers that option.
Test the result at mobile and desktop widths before shipping it.
FAQ
Is the generated CSS free to use?
Yes. Use it in any project, commercial or personal.
Does the tool upload anything?
No. Everything runs in your browser.
Can I copy the CSS as Tailwind?
Where the tool offers a Tailwind copy, it converts the matching declarations to classes.
Will the CSS work in all browsers?
The properties used here are widely supported. Check the preview in your target browsers.