Skip to content

Instantly share code, notes, and snippets.

@thelibrarian
Created June 20, 2012 23:31
Show Gist options
  • Save thelibrarian/2962909 to your computer and use it in GitHub Desktop.
Save thelibrarian/2962909 to your computer and use it in GitHub Desktop.
Nice CSS buttons
a.button {
text-decoration: none;
}
.button {
display: inline-block;
color: white;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#C1FA3B), color-stop(0.02, #8FCA05), to(#5A7F03));
-webkit-border-radius: .2em;
-webkit-box-shadow: #7EB105 0 0 .03em 0.03em inset, rgba(0, 0, 0, 0.4) 0px 0.1em .2em;
text-shadow: rgba(0, 0, 0, .2) 0 .05em .02em;
border: .08em solid #374D02;
padding: .2em .6em;
margin-top: .2em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment