Last active
May 19, 2018 19:00
-
-
Save mckabue/0e5343492de00f133435c4382e19ae7a to your computer and use it in GitHub Desktop.
How to set min-font-size in CSS :: https://stackoverflow.com/a/37836926 . This is because the static part of calc() defines the minimum. Even though the dynamic part might shrink to something near 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font-size:calc(12px + 1.5vw); | |
/* | |
* How to set min-font-size in CSS | |
* https://stackoverflow.com/a/37836926 | |
* This is because the static part of calc() defines the minimum. | |
* Even though the dynamic part might shrink to something near 0. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment