Created
June 4, 2012 06:19
-
-
Save peterwooley/2866646 to your computer and use it in GitHub Desktop.
Gradient-y 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
/** | |
* Gradient-y button | |
*/ | |
body { background:#444; } | |
button { | |
background: #686d76 linear-gradient(90deg, rgba(0,0,0,.26), rgba(255,255,255,.26)); | |
border:none; | |
border-radius:5px; | |
padding:10px 0; | |
padding-left:35px; | |
color:#fff; | |
font-weight:bold; | |
text-shadow:-1px -1px 0 rgba(0,0,0,.4); | |
box-shadow:0 1px 6px #000; | |
width:130px; | |
font-size:10px; | |
font-family:Helvetica, Tahoma, sans-serif; | |
text-align:left; | |
} |
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
<button>Share on Twitter</button> <button>Share via Email</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
{"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