CSS · Properties — CSS Inline

text-box

The CSS text-box property. Initial value: normal. Not inherited.

Syntax
text-box: normal | <'text-box-trim'> || <'text-box-edge'>

Example

Try it

Notes

Media: visual. Applies to: blockContainersAndInlineBoxes. Computed value: theSpecifiedKeyword.

More in this group

alignment-baseline baseline-shift baseline-source dominant-baseline initial-letter initial-letter-align text-box-edge text-box-trim

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course