Skip to content

Instantly share code, notes, and snippets.

@robertcedwards
Created January 28, 2012 21:20
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 robertcedwards/1695789 to your computer and use it in GitHub Desktop.
Save robertcedwards/1695789 to your computer and use it in GitHub Desktop.
CSS 3 Button
.button {
padding:.2em;
text-decoration:none;
background-color: #4DBEFA;
-moz-border-radius: 100px;
-webkit-border-radius: 100px;
border-radius: 100px;
-moz-box-shadow: -13px 10px 22px rgba(0,0,0,1);
-webkit-box-shadow: -13px 10px 22px rgba(0,0,0,1);
box-shadow: -13px 10px 22px rgba(0,0,0,1);
background-image: -o-linear-gradient(90deg , rgb(39,97,127) 0%, rgb(63,157,207) 100%);
background-image: -moz-linear-gradient(90deg , rgb(39,97,127) 0%, rgb(63,157,207) 100%);
background-image: -webkit-linear-gradient(90deg , rgb(39,97,127) 0%, rgb(63,157,207) 100%);
background-image: -ms-linear-gradient(90deg , rgb(39,97,127) 0%, rgb(63,157,207) 100%);
background-image: linear-gradient(90deg , rgb(39,97,127) 0%, rgb(63,157,207) 100%);
font-family: 'PT Sans Caption';
font-size: 36pt;
color: #C0C0C0;
text-shadow: rgba(0,0,0,1) 0px 0px 4px;
font-weight: bolder;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment