text-box
text-box is a CSS property in the Text category. Defines the formatting, alignment, and styling of text content. The syntax is text-box: <text-box-edge> <text-box-edge>?. A typical example: text-box: cap alphabetic; 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, text-overflow, white-space, word-break. 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.