CSS Shadow Effects
In CSS There are two types of shadows:
- text-shadow
- box-shadow
CSS text-shadow
CSS text-shadow is using for applying shadow to text.
Example:
Using a color in the shadow:
Example:
Using a blur effect to the shadow:
Example:
To use multiple shadows, you simply add a comma between two (or more) sets of values:
Example:
CSS box-shadow
CSS box-shadow is using for applying shadow to the elements.
Example:
Using a color to the shadow:
Example:
Using a blur effect to the shadow: