Skip to content

Instantly share code, notes, and snippets.

@ljungmark
Created December 31, 2017 14:10
Show Gist options
  • Save ljungmark/b49e9bae816f0e309f5525b21724fcbb to your computer and use it in GitHub Desktop.
Save ljungmark/b49e9bae816f0e309f5525b21724fcbb to your computer and use it in GitHub Desktop.
.selector {
font-size: calc(14px + (100vw / 50));
}
@media screen and (min-width: 1200px) {
.selector {
font-size: calc(14px + (1200px / 50));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment