codeGK
Code it ALL
CSS Text - CodeGK
♦ CSS Text

♣ About CSS Text

The Text has many modifiable properties.
Below is a listing of Text Properties
  • Color
  • Alignment
  • Decoration
  • Spacing
  • Transformation
  • Shadow

♣ Example1: CSS Text Color

In this example, Various text Colors are illustrated.
Example
Input:
Output:

♣ Example2: CSS Text Alignment

In this example, various types of text-alignment are illustrated.
To be specific right, center, left(default) and justify.
right, center, left are self-explanatory.
justify keyword makes the words of textual-content to spread out evenly on the line by providing equal spacing throughout that line.
Example
Input:
Output:

♣ Example3: CSS Text Decoration

In this example, various decoration keywords are illustrated for text.
To be specific underline, overline, line-through, none.
Tip: none can be used for hyperlinks for removing the default underline as text-decoration.
Example
Input:
Output:

♣ Example4: CSS Text Spacing

In this example, various types of spacing techniques will be seen for text.
To be specific text-indent, letter-spacing, line-height, word-spacing and white-space.
Example
Input:
Output:

♣ Example5: Transformation

In this example, various types of text-transformation properties are illustrated.
To be specific lower-case, upper-case, and capital.
Example
Input:
Output:

♣ Example6: CSS Text Shadow

In this example, Various text-shadow method are illustrated.
Example
Input:
Output:
Prev_LessonNext_Lesson