Created
January 27, 2015 12:39
-
-
Save RyanRoberts/88fa2903e9f2f00bb566 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<hr class="rule"> |
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
// ---- | |
// 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 |
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
.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; | |
} |
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
<hr class="rule"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment