Shadow effects can be of 2 types:
Shadow can be applied to the text using the Text-shadow property. Color, horizontal shadow, vertical shadow, blur effect can be applied to the text.
text-shadow: h-shadow v-shadow blur-radius color| none | initial | inherit;
h-shadow: used to specify the position of the horizontal shadow, it can take negative values v-shadow: used to specify the position of the vertical shadow, it cannot take negative values blur-radius: it is an optional value whose default value is 0
color: it is an optional value
none: default value which means no shadow initial: sets the property to its default value inherit: inherits property from its parent
Box shadow property is used to apply shadow to the elements.
Knowledge2life website.
Knowledge2life website.
|