Created
September 19, 2017 14:26
-
-
Save peterschmiz/81a99313fdab54c01e2f96ddfe95d690 to your computer and use it in GitHub Desktop.
Responsive type example (with responsive type PostCSS plugin)
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
// https://github.com/seaneking/postcss-responsive-type | |
h3 { | |
margin-bottom: calc(28px + 34 * ((100vw - 375px) / 1650)); | |
font-size: responsive 18px 26px; | |
font-range: 375px 2025px; | |
text-transform: uppercase; | |
line-height: responsive 22px 28px; | |
line-height-range: 375px 2025px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment