-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Relative font-size support #212
Comments
Ok, I gave it more thought...
Therefore using current implementation with responsive In order to implement responsive Conceptually it would look like: font-size:
calc(
1rem,
var(--rem-relative-font-size),
var(--rem-relative-line-height),
var(--font-metrics)
); To achieve that one would have to alter(or bring his own) |
Related to seek-oss/capsize#121 |
Ok, I've put some work into it, and here it is: |
CSS-only rem solution is here: https://jsbin.com/danobedoye/11/edit?html,css,output |
I am exploring some approaches to responisve typography, and I am trying to use tricks like
Which results in
I am not sure, what is going on here. Is implementation somehow reliant on pixel values?
The text was updated successfully, but these errors were encountered: