Created
April 4, 2013 17:40
-
-
Save visualpropaganda/5312421 to your computer and use it in GitHub Desktop.
CSS: Horizontal Ruler Styling without <hr>
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
/* | |
* Horizontal Ruler without <hr> (can be put in media queries instead of html) | |
*/ | |
.hdr-primary:before { | |
border: 1px solid $bg-html; | |
border-width: 1px 0; | |
content: ""; | |
display: block; | |
height: 2px; | |
left: 0; | |
top: -90%; | |
margin: 0 auto; | |
position: absolute; | |
width: 100%; | |
z-index:1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment