Box-shadow in CSS
The box-shadow property adds shadow effects to an element's box. It has four values: horizontal offset, vertical offset, blur radius, and color. Example:
css
div {
box-shadow: 5px 5px 5px #888;
}
This will add a shadow with a 5-pixel horizontal offset, a 5-pixel vertical offset, a 5-pixel blur radius, and a color of #888.
No comments:
Post a Comment