CSS · Properties — CSS Inline

text-box-trim

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

Syntax
text-box-trim: none | trim-start | trim-end | trim-both

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 text-box-edge

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