Skip to content

Instantly share code, notes, and snippets.

@js2me
Created October 16, 2022 15:38
fluid typography adaptive font size
body {
font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment