Skip to content

Instantly share code, notes, and snippets.

@paydro
Created August 20, 2011 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paydro/1159768 to your computer and use it in GitHub Desktop.
Save paydro/1159768 to your computer and use it in GitHub Desktop.
Fancy buttons via css
/* Fancy buttons */
.buttons a,
.buttons input,
input.button,
.button {
font-family: "Helvetica Neue", Verdana,Helvetica, sans-serif;
font-size: 12px;
padding: 5px 10px;
color: #f5f5f5;
background-color: #292929;
background: -moz-linear-gradient(top, #4f4f4f 0%, #292929);
background: -webkit-gradient(linear, left top, left bottom, from(#4f4f4f), to(#292929));
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px
border: 1px solid #000000;
-moz-box-shadow:
0px 1px 3px rgba(000,000,000,0.5),
inset 0px 0px 1px rgba(255,255,255,0.9);
-webkit-box-shadow:
0px 1px 3px rgba(000,000,000,0.5),
inset 0px 0px 1px rgba(200,200,200,0.9);
box-shadow:
0px 1px 3px rgba(000,000,000,0.5),
inset 0px 0px 1px rgba(200,200,200,0.9);
text-decoration: none;
text-shadow: 0px -1px 0px rgba(000,000,000,0.7),
0px 1px 0px rgba(255,255,255,0.3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment