data-type
<text-edge> — CSS reference
Text-edge selects font metric edges for text box trimming and related layout. Cap targets capital height and alphabetic selects the alphabetic baseline. Actual glyph extents may differ.
Formal Syntax & Structure
css syntaxcss
text-box-edge: cap alphabetic;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title><text-edge></title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{text-box-edge:cap alphabetic}</style><body><div id="a">Example</div></body></html>