text-box
Limited availability
The text-box
CSS property sets the spacing above and below text based on a font's typographic features. For example, text-box: trim-both ex alphabetic
trims the top to the top of the letter x and the bottom to the bottom of most letters, without descenders.
Browser support (view on caniuse.com)
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari 18.2 Released on 2024-12-11
- Safari on iOS 18.2 Released on 2024-12-11