We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prototype / demo https://codepen.io/argyleink/pen/Yzgbgzm
@layer demo { .scaleable { h1, h2, h3, h4 { font-size: calc(1rem * pow(var(--scale, 1.4), var(--heading-scale))); } h1 { --heading-scale: 4 } h2 { --heading-scale: 3 } h3 { --heading-scale: 2 } h4 { --heading-scale: 1 } } }
The text was updated successfully, but these errors were encountered:
I like the idea. Where would this be added? In Normalize? As a prop-pack?
Sorry, something went wrong.
yeah, prop pack, as an alternative set to the relative font sizes 👍🏻
No branches or pull requests
prototype / demo https://codepen.io/argyleink/pen/Yzgbgzm
The text was updated successfully, but these errors were encountered: