Created
August 4, 2015 17:30
-
-
Save aviogreen/414827ac808672bb0de9 to your computer and use it in GitHub Desktop.
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
/************************************************************** | |
:: Line Splitters | |
.splitter | |
.dotted | |
.dotted-middle | |
**************************************************************/ | |
.splitter { | |
border-top: 1px solid white; | |
position: relative; | |
&:before,&:after { | |
border: 3px solid white; | |
.border-radius(50%); | |
content: ""; | |
position: absolute; | |
left: 0; | |
margin-top: -3px; | |
} | |
&:after { | |
left: auto; | |
right: 0; | |
} | |
.dotted { | |
&:before,&:after { | |
border: 3px solid white; | |
.border-radius(50%); | |
content: ""; | |
position: absolute; | |
margin-top: -3px; | |
} | |
&:before { | |
left: 50%; | |
margin-left: -11px; | |
} | |
&:after { | |
right: 50%; | |
margin-right: -11px; | |
} | |
} | |
.dotted-middle { | |
position: absolute; | |
border: 5px solid white; | |
left: 50%; | |
margin-top: -5px; | |
margin-left: -5px; | |
.border-radius(50%); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment