Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Created March 25, 2012 04:52
Show Gist options
  • Save LeaVerou/2191425 to your computer and use it in GitHub Desktop.
Save LeaVerou/2191425 to your computer and use it in GitHub Desktop.
Subpixel font sizes
/**
* Subpixel font sizes
* Is this a smooth progression (correct) or
* 3-4 distinct sizes (no subpixel measurements)?
*/
html {
font-size: 10px;
padding-top: 50px;
}
div {
display: inline;
font-size: 101%;
}
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
<div>
a
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment