Skip to content

Instantly share code, notes, and snippets.

@moxie
Created July 28, 2010 17:20
Show Gist options
  • Save moxie/495393 to your computer and use it in GitHub Desktop.
Save moxie/495393 to your computer and use it in GitHub Desktop.
a.button, button.button {
font-family: "Lucida Grande", Tahoma, Arial, sans-serif;
float: left;
margin: 0 7px 0 0;
padding: 0px;
background: transparent;
text-decoration: none;
border: none;
display: block;
cursor: pointer;
font-size: 13px;
font-weight: bold;
line-height: 18px;
color: #464646;
width: auto;
overflow: visible;
outline: 0;
}
button::-moz-focus-inner {
border: 0;
padding: 0;
}
*:first-child+html button[type]{
padding: 0;
height: 18px;
}
a.button span, button.button span {
display: block;
line-height: 18px;
background: #EAEAEA url(/images/button-bg.png) repeat-x;
border: 1px solid #dedede;
border-right: 1px solid #bbb;
border-bottom: 1px solid #bfbfbf;
padding: 5px 15px;
-webkit-border-radius: 11px;
-moz-border-radius: 11px;
border-radius: 11px;
}
a.button:hover span, button.button:hover span {
border: 1px solid #999999;
}
a.button span img, button.button span img {
margin: 0 3px -3px 0 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment