In this chapter, you will learn about the following properties:
text-overflow
word-wrap
word-break
writing-mode
text-overflow
The text-overflow
property defines how hidden overflowed text is displayed.
It can be:
...
to show truncation.The word-wrap
property allows long words to break and wrap onto the next line.
If a word is too long to fit in its container, it may overflow like this:
Without word-wrap:
The word-wrap property allows you to force the text to wrap - even if it means splitting it in the middle of a word:
The CSS writing-mode property specifies whether lines of text are laid out horizontally or vertically.
Some text with a span element with a vertical-rl writing-mode.
The following example shows some different writing modes: