Design CSS box-shadow effects with a live preview - copy the code in one click.
Design CSS box-shadow effects visually: drag sliders for X/Y offset, blur and spread, pick the shadow color and opacity, toggle inset mode, and copy the finished declaration to your stylesheet. The white card previews every change in real time. 在线 CSS 阴影生成器:拖动滑块设置偏移、模糊、扩散,选择颜色与不透明度,切换内阴影,实时预览并一键复制 box-shadow 声明。
The same coordinate system works for text-shadow - copy the X/Y/blur values and use them on text for drop-shadow captions. 相同的坐标系统也适用于 text-shadow,可复制前三个数值给文字使用。
All shadow calculations happen in your browser. No data is sent anywhere. 阴影生成全部在浏览器本地完成,不会发送任何数据。
Q: Why does my shadow look harsh? / 为什么阴影生硬? - Add blur (10px+) and lower the opacity; soft, semi-transparent shadows read as natural light. 增加模糊并降低不透明度更自然。
Q: Can I stack multiple shadows? / 能叠加多层阴影吗? - Yes, paste several comma-separated box-shadow values in your CSS; generate each layer here. 可以,用逗号分隔多层生成。