December 21, 2022
Estimated Post Reading Time ~

A Quick glance at "CSS Shadow Effects"

A Quick glance at "CSS Shadow Effects"



CSS Shadow Effects 
With CSS you can add shadow to text and to elements. 
we will learn about the following properties: 
 `text-shadow`  
`box-shadow` 

CSS Text Shadow 
The CSS `text-shadow` property applies shadow to text.



Example of Text Shadow



Multiple Shadows 
To add more than one shadow to the text, you can add a comma-separated list of shadows.



CSS Box Shadow 
The CSS `box-shadow` property is used to apply one or more shadows to an element.



Example -



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.