Beispiel:Overflow-3-lengthAdjust.html
Aus SELFHTML-Wiki
<!DOCTYPE html> <html> <head>
<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Stauchung mit SVG</title> <style>
text { font-size: 60px; fill: #c82f04; }
.box { color: #c82f04; font-family: Arial, Helvetica, sans-serif;
font-size: 3em;
font-weight: bold;
border: medium solid black; padding: 3px; width: 150px;
}
body{
display: grid; grid-template-columns: repeat(auto-fill, 16em);
}
h1 { grid-column: 1 / -1; }
</style>
</head>
<body>
Stauchung mit SVG
<figure>
<svg viewBox="0 0 150 150"> <text x="0" y="33%">SVG</text> <text x="0" y="66%">is</text> <text x="0" y="99%" textLength="100%" lengthAdjust="spacingAndGlyphs">Awesome</text> </svg>
<figcaption>lengthAdjust="spacingAndGlyphs"
textLength="100%"</figcaption>
</figure>
</body> </html>