fix
Matt Wing
Ran into @enjoycss today and made an awesome button in like 30 seconds. Check it out if you hate coding CSS like me!
Proceed(7)
Thanks for your like.
You've done it, haven't you?
{"sid":"1Qn","rid":1,"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="enjoy-css">Enjoy</div>
Copy to clipboard
CSS
LESS
SCSS
.enjoy-css {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 160px;
  padding: 20px;
  overflow: hidden;
  border: none;
  font: normal 33px/1 "Times New Roman", Times, serif;
  color: rgba(255,255,255,1);
  text-align: center;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  background: #0199d9;
  -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3) ;
  box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3) ;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2) ;
  -webkit-transition: color 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -moz-transition: color 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -o-transition: color 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  transition: color 200ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -webkit-transform: rotateX(30deg)   ;
  transform: rotateX(30deg)   ;
}