Select Chapter ❯
CSS Tutorial
- CSS Introduction
- CSS Syntax
- CSS Insert CSS
- CSS Backgrounds
- CSS Text
- CSS Dimensions
- CSS Border
- CSS Margin
- CSS Padding
- CSS Display
- CSS Positioning
- CSS Float
- CSS Pseudo-Class
- CSS Opacity
- CSS Media Types
CSS3 Tutorial
CSS3 Text Effects
With CSS3 Text Effects you can add several new effects on text like text-shadow, wordwrap etc.
Text Shadow
Text shadow is used to give shadow to the elements text
Syntax
text-shadow:vertical shadow horizontal shadow blur distance color;
p { text-shadow:10px 20px 50px blue; }
Word Wrap
Word Wrap is used to prevent the long words expanding outside from the box and it fit the long words in given box.
Syntax
word-wrap:break-word;
It has no value other than break-word.
❮ Prev