<svg viewBox="0 0 200 30" xmlns="http://www.w3.org/2000/svg">
<text y="25" font-size="smaller">smaller</text>
<text x="100" y="25" font-size="2em">2em</text>
</svg>font-size / notebook
font-size
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.