Created
December 18, 2012 17:02
-
-
Save tiborsaas/4329774 to your computer and use it in GitHub Desktop.
Untitled
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
.stripe{ | |
background: #900; | |
display: inline-block; | |
padding: 5px 10px; | |
color: #fff; | |
margin-left: 50px; | |
position: relative; | |
} | |
.stripe:after, .stripe:before{ | |
content: ''; | |
position: absolute; | |
width: 0; | |
height: 0; | |
} | |
.stripe:after{ | |
right: 0px; | |
top: 100%; | |
border-width: 3px 6px; | |
border-style: solid; | |
border-color: #333 transparent transparent #333; | |
} | |
.stripe:before{ | |
top: 0; | |
border-top: 15px solid #000; | |
border-width: 15px 15px; | |
border-style: solid; | |
border-color: #900 transparent #900 transparent; | |
left: -15px; | |
} | |
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
<div class="stripe">$55</div> |
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-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment