Skip to content

Instantly share code, notes, and snippets.

@RyanRoberts
Created January 27, 2015 12:39
Show Gist options
  • Save RyanRoberts/88fa2903e9f2f00bb566 to your computer and use it in GitHub Desktop.
Save RyanRoberts/88fa2903e9f2f00bb566 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
.rule
position: relative
width: 100%
height: 1px
color: rgba(white, 0.6)
background-color: rgba(white, 0.6)
border: 0
&:after
content: ""
display: block
position: absolute
top: -8px
left: 50%
width: 0
height: 0
margin-left: -8.5px
border-style: solid
border-width: 9px 8px
border-color: transparent #fff transparent #fff
// ignore
body
padding: 50px
background: #777
.rule {
position: relative;
width: 100%;
height: 1px;
color: rgba(255, 255, 255, 0.6);
background-color: rgba(255, 255, 255, 0.6);
border: 0;
}
.rule:after {
content: "";
display: block;
position: absolute;
top: -8px;
left: 50%;
width: 0;
height: 0;
margin-left: -8.5px;
border-style: solid;
border-width: 9px 8px;
border-color: transparent white transparent white;
}
body {
padding: 50px;
background: #777777;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment