Add to description of box-shadow (#27192)

Add that box-shadow works just like text-shadow. Also fix typo by changing "give" to "gives"
This commit is contained in:
carsandparties
2019-02-20 16:58:44 -06:00
committed by Manish Giri
parent 9526a6ed03
commit 2a81a0bfe8

View File

@ -4,7 +4,7 @@ title: Box Shadow
## Box Shadow
The `box-shadow` property attaches one or more shadows around the frame of an element (can be inside). It's an option that gives you the power to easily design wonderful shadow effects. Box shadows are a great way to elevate the visuals of your web page.
The `box-shadow` property attaches one or more shadows around the frame of an element (can be inside). It's an option that gives you the power to easily design wonderful shadow effects. It works just like the `text-shadow` property in that they are both used to create a drop shadow, which will create a darker version of the element just behind it and slightly offset. Box shadows are a great way to elevate the visuals of your web page.
A box shadow can be described with several properties including:
* X and Y offset from the element