Skip to content

Instantly share code, notes, and snippets.

@treykane
Last active January 6, 2016 13:54
Show Gist options
  • Save treykane/006a8c4bfe8bb872892c to your computer and use it in GitHub Desktop.
Save treykane/006a8c4bfe8bb872892c to your computer and use it in GitHub Desktop.
Horizontal Lines on each side of title - DON'T FORGET TO HIDE YOUR OVERFLOW
.hero-cta-title {
display: inline-block;
position: relative;
&:before, &:after {
content: "";
position: absolute;
border-top: 1px solid white;
top: 9px;
width: 200%;
}//. &:before, &:after
&:before {
right: 100%;
margin-right: 15px;
}// &:before
&:after {
left: 100%;
margin-left: 15px;
}// &:after
}// .hero-cta-title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment