fix
Rodrigo Kono
This webApp can help for developers who are not masters in CSS
Proceed(2)
Thanks for your like.
You've done it, haven't you?
{"sid":"tjx","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
<input class="button" placeholder="Enter Title" />
<link async href="http://fonts.googleapis.com/css?family=Antic" data-generated="http://enjoycss.com" rel="stylesheet" type="text/css"/>
Copy to clipboard
CSS
LESS
SCSS
.button {
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 150px;
  height: 42px;
  cursor: pointer;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 20px;
  overflow: hidden;
  border: none;
  -webkit-border-radius: 21px;
  border-radius: 21px;
  font: normal 20px/normal "Antic", Helvetica, sans-serif;
  color: rgba(255,223,175,1);
  text-decoration: normal;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  background: #6D3191;
  -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:hover {
  color: rgba(255,216,158,1);
  background: rgba(157,23,214,0.89);
  -webkit-box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.5) inset;
  box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.5) inset;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-transform:    skewX(-3deg);
  transform:    skewX(-3deg);
}

.button:focus {
  width: 300px;
  cursor: default;
  padding: -13px 20px 0;
  -webkit-transition: all 600ms cubic-bezier(0.68, -0.75, 0.265, 1.75);
  -moz-transition: all 600ms cubic-bezier(0.68, -0.75, 0.265, 1.75);
  -o-transition: all 600ms cubic-bezier(0.68, -0.75, 0.265, 1.75);
  transition: all 600ms cubic-bezier(0.68, -0.75, 0.265, 1.75);
  -webkit-transform: none;
  transform: none;
}