Learn how to use CSS text-overflow
The text-overflow CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, display an ellipsis (‘…’, U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string. Examples p { white-space: nowrap; width: 100%; overflow: hidden; /* “overflow” value must be different from “visible” */ text-overflow: ellipsis; } CSS […]
Continue Reading →