Created
November 30, 2014 12:24
-
-
Save JohnMorales/b3feba0e6a55b4cb8773 to your computer and use it in GitHub Desktop.
Simple Styles for hrs (http://css-tricks.com/examples/hrs/)
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
/** | |
* Simple Styles for hrs (http://css-tricks.com/examples/hrs/) | |
*/ | |
hr.style-one { | |
border: 0; | |
height: 1px; | |
background: #333; | |
background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); | |
background-image: -moz-linear-gradient(left, #ccc, #333, #ccc); | |
background-image: -ms-linear-gradient(left, #ccc, #333, #ccc); | |
background-image: -o-linear-gradient(left, #ccc, #333, #ccc); | |
} | |
hr.style-two { | |
border: 0; | |
height: 1px; | |
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); | |
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); | |
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); | |
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); | |
} | |
hr.style-four { | |
height: 12px; | |
border: 0; | |
box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.5); | |
} | |
/* Glyph, by Harry Roberts */ | |
hr.style-eight { | |
padding: 0; | |
border: none; | |
border-top: medium double #333; | |
color: #333; | |
text-align: center; | |
} | |
hr.style-eight:after { | |
content: "§"; | |
display: inline-block; | |
position: relative; | |
top: -0.7em; | |
font-siz |
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
<!-- content to be placed inside <body>…</body> --> | |
<hr class="style-one"> | |
<hr class="style-two"> | |
<hr class="style-four"> | |
<hr class="style-eight"> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment