fix
Dave Ellis
This is a great CSS tool, particularly useful for 3D transforms
Proceed(9)
Thanks for your like.
You've done it, haven't you?
{"sid":"D7","rid":0,"page":"code","page_params":[],"username":""}
Skip
Next

We'll add only required prefixes
for browsers you gonna choose,
based on data from caniuse.com
4+
4+
9+
10.5+
4+
5.0+
2.1+
7+
Hide default rules
Copy to clipboard
HTML
<div class="button">Buy it now</div>
<link async href="http://fonts.googleapis.com/css?family=Abel" data-generated="http://enjoycss.com" rel="stylesheet" type="text/css"/>
Copy to clipboard
CSS
LESS
SCSS
.button {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  padding: 0.75em 1em;
  border: none;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font: normal 1.25em/normal "Abel", Helvetica, sans-serif;
  color: #980004;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: -webkit-linear-gradient(-90deg, rgba(0,0,0,0) 0, #f26122 100%), #E5D7CF;
  background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 0, #f26122 100%), #E5D7CF;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0, #f26122 100%), #E5D7CF;
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  text-shadow: 0 -1px 0 rgb(91,129,17) ;
}

.button:hover {
  background: #f26122;
  -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
}

.button:active {
  -webkit-box-shadow: 0 1px 4px 0 rgb(65,105,23) inset;
  box-shadow: 0 1px 4px 0 rgb(65,105,23) inset;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}