Created
May 20, 2018 14:17
-
-
Save hwshim0810/0ec04d58c65bfeac4baee6d7259cd002 to your computer and use it in GitHub Desktop.
Grey line divider
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
.divider { | |
text-transform: uppercase; | |
color: $dark-grey; | |
font-weight: 600; | |
margin: 20px 0; | |
position: relative; | |
&:before, | |
&:after { | |
content: ""; | |
width: 42%; | |
position: absolute; | |
background-color: $dark-grey; | |
height: 1px; | |
top: 6px; | |
opacity: 0.8; | |
} | |
&:before { | |
left: 0; | |
} | |
&:after { | |
right: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment