Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<title>font-size: math (reference)</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
}
</style>
</head>
<body>
<div class="container">
<div style="font-size: medium;">
<div style="font-size: 1em;">X</div>
</div>
<div style="font-size: x-large;">
<div style="font-size: 200%">
<div style="font-size: 3em">
<div style="font-size: smaller">
<div style="font-size: 1em;">
<div style="font-size: larger">
<div style="font-size: 4em">
<div style="font-size: 500%">X</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>