Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<style>
@font-face {
font-family: ExTest;
src: url(../css-values/resources/ExTest.woff);
}
:root {
font-family: ExTest;
font-size: 20px;
}
</style>
<p style="font-family: sans-serif">The following two lines should look exactly the same.</p>
<div style="font-size: 1ex;">
<div style="font-family: sans-serif;">
Text.
</div>
<div style="font-family: sans-serif;">
Text.
</div>
</div>