CSS text-overflow Property Explained
What the CSS text-overflow property does, with an example.
Published November 5, 2026
The CSS text-overflow property controls how overflowed text that isn't displayed is signaled, most commonly with an ellipsis.
Key points
- Check browser compatibility on a resource like caniuse.com if targeting older browsers
Example
text-overflow: ellipsis;