|
|
|
|
|
by nhanb
1157 days ago
|
|
I've always liked ExoticSilicon's design, but not until this post did I realize their smart bit of CSS for default font size: font-size: min(max(1em, 1.3vw), 1.3em);
Which explains why it looks just right on my high-DPI Chromebook even though I haven't configured a big enough default font size for the browser.This is going to be the default font-size for all of my websites now (preceded by a fallback for maximum compatibility of course). |
|