Skip to content

Instantly share code, notes, and snippets.

@hwshim0810
Created May 20, 2018 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hwshim0810/0ec04d58c65bfeac4baee6d7259cd002 to your computer and use it in GitHub Desktop.
Save hwshim0810/0ec04d58c65bfeac4baee6d7259cd002 to your computer and use it in GitHub Desktop.
Grey line divider
.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