This short tutorial shows how to truncate overflowing text inside a container with a CSS ellipsis, so long strings do not break the layout. It is aimed at people building web interfaces.
What you’ll learn
✓Truncate overflowing text inside a container with CSS
✓Apply the overflow and ellipsis properties to keep a single line tidy