ToolPal

CSS盒子阴影生成器

通过实时预览可视化生成CSS盒子阴影。自定义偏移、模糊、扩展、颜色和多层效果。

box-shadow: 0px 4px 16px -2px rgba(0, 0, 0, 0.18);
0px
4px
16px
-2px
18%

使用方法

通过实时预览可视化生成CSS盒子阴影。自定义偏移、模糊、扩展、颜色和多层效果。

  1. 1Adjust the sliders to set horizontal offset, vertical offset, blur, and spread.
  2. 2Pick a shadow color and set the opacity for transparency.
  3. 3Toggle 'Inset' to switch between outer and inner shadows.
  4. 4Click 'Add Shadow' to layer multiple shadows for complex effects.
  5. 5Copy the generated CSS and paste it into your stylesheet.

主要功能

  • Real-time preview of box shadow effects
  • Multiple shadow layers for complex designs
  • Inset shadow support for pressed effects
  • 8 professional presets to get started quickly

常见问题