Created
October 22, 2012 17:13
-
-
Save ganglio/3932695 to your computer and use it in GitHub Desktop.
SCSS: hr ruler
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
hr { | |
height: 10px; | |
@include background-image | |
(linear-gradient(left, black 1%, transparent 1%), | |
linear-gradient(left, black 2%, transparent 2%), | |
linear-gradient(left, black 10%, transparent 10%), | |
linear-gradient(left, black 20%, transparent 20%), | |
linear-gradient(top, transparent 5px, black 5px, transparent 6px)); | |
border: none; | |
background-position: 0px 50%, 0px 50%, 0px 50%, 0px 50%, 0px 0; | |
background-repeat: repeat-x; | |
background-size: 100px 25px, 50px 15px, 10px 10px, 5px 5px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment