Jul 21, 2017 · 1 min read
not SASS-specific, but basic CSS, you can do this:
:root {
font-size: 14px;
font-size: calc(.75vw + .75vh);
}
to make the font-size dynamic, based on browser-window size and then use media queries to set a minimum or maximum size so they don’t get crazy big or small:
@media (max-height: 500px) {
:root {
font-size: 10px;
}
}
@media (min-width: 1600px) {
:root {
font-size: 17px;
}
}
