TAG ยท text
Text handling in CSS
Ellipsis, line clamping, long words that will not break, drop caps and numbered headings. 7 elements, each rendered live with its source and the one thing that breaks it.
- A list marker you define yourself @counter-style
- Marking text without touching the DOM ::highlight()
- Numbering the browser keeps for you counters()
- The long word that will not bend overflow-wrap: anywhere
- An ellipsis is three declarations, not one text-overflow: ellipsis
- A drop cap the browser measures for you initial-letter
- Cut a paragraph to three lines -webkit-line-clamp