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.
Compatibility (view on caniuse.com)
- Chrome ❌ Search for bugs Search for Chromestatus entry
- Chrome Android ❌ Search for bugs Search for Chromestatus entry
- Edge ❌ Search for bugs Search for Chromestatus entry
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android ❌ Search for bugs Search for standards position
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS ❌ Search for bugs Search for standards position