Locked lesson.
About this lesson
Exercise files
Download this lesson’s related exercise files.
Text Formatting.docx58.7 KB Text Formatting - Solution.docx
58.9 KB
Quick reference
Text Formatting
There are many ways to format text.
When to use
Any time you want to format text, use one of these properties.
Instructions
To align text:
text-align: center;
text-align: left;
text-align: right;
To make text underlined:
text-decoration: none;
text-decoration: overline;
text-decoration: underline;
text-decoration: line-through;
To Transform text:
text-transform: lowercase;
text-transform: uppercase;
text-transform: capitalize;
To move text around:
text-indent: 50px;
letter-spacing: 10px;
word-spacing: 10px;
To give text a shadow:
text-shadow: 3px 2px 10px #cccccc;
(right, down, blurry, color)
Hints & tips
- There are tons of text formatting methods!
Lesson notes are only available for subscribers.