Created
May 13, 2014 12:29
-
-
Save frontendbeast/890ff27698f59cd5a4b4 to your computer and use it in GitHub Desktop.
SASS vertical rhythm background lines
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
$color__blue: #0CF; | |
$font__line-height: 1.5rem; | |
body { | |
background: linear-gradient(bottom, rgba($color__blue, 0.25), rgba($color__blue, 0.25) 1px, transparent 1px, transparent); | |
background-size: 1px $font__line-height; | |
background-repeat: repeat; | |
background-position: 0 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment