text-overflow

From Mozilla:

The text-overflow CSS property determines how overflowed content that is not displayed is signaled to users. It can be clipped, display an ellipsis (Horizontal Ellipsis), or display a custom string.