text-overflow
text-overflow is a CSS property in the Text category. Defines the formatting, alignment, and styling of text content. The syntax is text-overflow: clip | ellipsis. A typical example: text-overflow: ellipsis; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 1+, Firefox 1+, Safari 1+, Edge 12+. A close relative is text-align, which defines the formatting, alignment, and styling of text content. A close relative is text-decoration, which defines the formatting, alignment, and styling of text content. A close relative is text-transform, which defines the formatting, alignment, and styling of text content. More about this category: CSS text properties for styling text content, alignment, and decoration. Related Text entries: text-align, text-decoration, text-transform, text-indent, text-shadow, white-space, word-break, word-spacing. This page is part of the free CSS Reference documentation covering 841+ properties, selectors, functions, and at-rules, each with syntax, values, examples, and browser support.