property
Text rendering — CSS reference
Hints that geometric accuracy is preferred when rendering text. The renderer may choose different glyph layout or rasterization strategies; the property is not a substitute for legible typography.
Formal Syntax & Structure
css syntaxcss
text-rendering: geometricPrecision;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>text-rendering</title><style>body{margin:0;background:white}svg{display:block}#a{text-rendering:geometricPrecision}</style><body><svg xmlns="http://www.w3.org/2000/svg" width="240" height="160" viewBox="0 0 240 160" role="img" aria-label="SVG styling example"><text id="a" x="20" y="80">SVG text</text></svg></body></html>