Created
April 11, 2012 12:58
-
-
Save tylergaw/2359154 to your computer and use it in GitHub Desktop.
Arrow Button
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
/** | |
* Arrow Button | |
*/ | |
a { | |
color: #f1f1f1; | |
display: inline-block; | |
font-family: helvetica, sans; | |
font-size: 2.2em; | |
letter-spacing: 0.1em; | |
text-decoration: none; | |
text-transform: uppercase; | |
opacity: 0.75; | |
overflow: hidden; | |
padding-right: 0.8em; | |
position: relative; | |
} | |
a b { | |
background-color: #b8b8b8; | |
border-top-left-radius: 5px; | |
border-bottom-left-radius: 5px; | |
display: inline-block; | |
font-weight: normal; | |
padding: 0.06em 0 0 0.2em; | |
position: relative; | |
text-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0; | |
z-index: 2; | |
} | |
a:after { | |
background-color: #b8b8b8; | |
content: ""; | |
display: inline-block; | |
height: 1.2em; | |
position: absolute; | |
right: 0.3em; | |
-webkit-transform: rotate(-45deg); | |
width: 1.2em; | |
z-index: 1; | |
} | |
a:hover { | |
opacity: 1; | |
} | |
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
<a href="#woot"><b>Original Article</b></a> |
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","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment