Te
|
CSS3 Text Effects(Fg. 1) CSS3 contains several new text features.
Internet Explorer 10, Firefox, Chrome, Safari, and Opera support the text-shadow property.
|
Fg. 1 (CSS3 Text Effects)
h1
|
|
Fg. 2.1 (CSS3 Text Shadow)
h1
Fg. 2.2 (CSS3 Text Shadow)
h1
|
CSS3 Text Shadow(Fg.s 2) In CSS3, the text-shadow property applies shadow to text.
This Text Has Shadows
Syntax
text-shadow: h-shadow v-shadow blur color;
The text-shadow property attaches one or more shadows to text. The property is a comma-separated list of shadows, each specified by 2 or 3 length values and an optional color. Omitted lengths are 0. (Fg. 2.1 & Fg. 2.2) |
|
CSS3 Word Wrapping(Fg.s 3) If a word is too long to fit within an area, it expands outside. In CSS3, the word-wrap property allows you to force the text to wrap - even if it means splitting it in the middle of a word. This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.
This paragraph contains a very long word: thisisaveryveryveryveryveryverylongword. The long word will break and wrap to the next line.
Syntax
word-wrap: normal|break-word;
(Fg. 3.1 & Fg. 3.2) |
Fg. 3.1 (CSS3 Word Wrapping)
p
Fg. 3.2 (CSS3 Word Wrapping)
p
|