Last active
October 12, 2017 22:11
-
-
Save grayghostvisuals/4751673 to your computer and use it in GitHub Desktop.
Compass Vertical Rhythm and Typography Playground
This file contains hidden or 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
| @import "compass/typography"; | |
| // global vars | |
| $base-font-size: 18px; | |
| $base-line-height: 24px; | |
| // establishes base grid | |
| @include establish-baseline; | |
| //@rhythm-borders(px, x, x) | |
| //@leading-border(x, x, x) // border-width, trailer, font-size | |
| //@include adjust-font-size-to(x); | |
| //@include adjust-leadin-to(x); | |
| //@include adjust-font-size-to(x); | |
| //@include adjust-leading-to(x); | |
| //@include leader(x); | |
| //@include trailer(x); | |
| //@include rhythm(x,x,x,x,$base-font-size); //trailer, padding-trailer, padding-leader, leader, font-size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment