Skip to content

Instantly share code, notes, and snippets.

@nelsonJM
Created December 21, 2012 18:31
Show Gist options
  • Select an option

  • Save nelsonJM/4354782 to your computer and use it in GitHub Desktop.

Select an option

Save nelsonJM/4354782 to your computer and use it in GitHub Desktop.
CSS: linear gradient button
#searchsubmit {
border: 1px solid #C1BBBB;
background: #DCDCDD;
background: -webkit-linear-gradient(top, #F7F7F7, #9A9898);
background: -moz-linear-gradient(top, #F7F7F7, #9A9898);
background: -ms-linear-gradient(top, #F7F7F7, #9A9898);
background: -o-linear-gradient(top, #F7F7F7, #9A9898);
padding: 3px 6px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: #817F7E 0 1px 1px;
-moz-box-shadow: #817f7e 0 1px 1px;
box-shadow: #817F7E 0 1px 1px;
text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
color: #080808;
font-size: 14px;
font-family: Helvetica, Arial, Sans-Serif;
text-decoration: none;
vertical-align: middle;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment