The text-shadow
property in CSS is used to add shadow effects to text. You can apply multiple shadows to text to create various effects like glowing text or text with a blurred shadow.
- Offset-X: Required. The horizontal shadow (positive value moves the shadow to the right, negative to the left).
- Offset-Y: Required. The vertical shadow (positive value moves the shadow down, negative moves it up).
- Blur: The blur radius (higher values create a more blurred shadow).
- Color: The color of the shadow.
