所有工具分类关于联系隐私
颜色与设计工具

CSS Box Shadow Generator

Adjust the offset, blur, spread, colour and opacity to create a soft card shadow or a hard offset shadow. The preview sits on a neutral background so you can judge the result, and the CSS rule is generated as you drag.

更新日期 · 免费 · 无需注册 · 在你的设备上运行

正在加载工具…

使用方法

  1. Move the sliders for offset, blur, spread and opacity.
  2. Pick a colour and tick inset if you need an inner shadow.
  3. Copy the finished box-shadow rule.

适用人群

Front-end developers matching a design, designers exploring elevation, and anyone learning how CSS shadows work.

操作示例

0 18px 35px -8px rgba(30, 27, 75, 0.25) gives a soft card shadow without a harsh edge.

限制

Produces a single shadow layer. Complex designs may need several comma-separated shadows, which you can combine by hand.

隐私

What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.

常见问题

What does spread do?

It grows or shrinks the shadow before blurring. A negative spread keeps the shadow tucked under the element.

快速信息

类别
颜色与设计工具
适用设备
手机、平板电脑和桌面设备
账户
无需
价格
免费
数据
保留在你的设备上
更新日期