Skip to content

Instantly share code, notes, and snippets.

@fedemp
Created January 6, 2012 19:33
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 fedemp/1572032 to your computer and use it in GitHub Desktop.
Save fedemp/1572032 to your computer and use it in GitHub Desktop.
Nice buttons for Therma
input {
font-size: 12px;
border: 0;
cursor: pointer;
border-radius: 3px;
padding: 0 5px;
color: #fff;
font-weight: bold;
background: #ffa20d;
background: -moz-linear-gradient(top, #ffa20d 0%, #f98600 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffa20d), color-stop(100%,#f98600));
background: -webkit-linear-gradient(top, #ffa20d 0%,#f98600 100%);
background: -o-linear-gradient(top, #ffa20d 0%,#f98600 100%);
background: -ms-linear-gradient(top, #ffa20d 0%,#f98600 100%);
background: linear-gradient(top, #ffa20d 0%,#f98600 100%);
filter: progid:DXImageTransform.Microsoft.gradient ( startColorstr='#ffa20d',endColorstr='#f98600',GradientType=0 );
}
.cta_orange_33 {
height: 33px;
line-height: 33px;
}
.cta_orange_28 {
height: 28px;
line-height: 28px;
}
p { margin: 1em; }
<p><input type="button" value="To infinity, and beyond!" class="cta_orange_33">
<p><input type="button" value="Search" class="cta_orange_28">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment