fix
Rodrigo Kono
This webApp can help for developers who are not masters in CSS
Proceed(8)
Thanks for your like.
You've done it, haven't you?
{"sid":"bCT","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 type="button" class="ZOOMBUTTON" value="" />
<link async href="http://fonts.googleapis.com/css?family=Quantico" data-generated="http://enjoycss.com" rel="stylesheet" type="text/css"/>
Copy to clipboard
CSS
LESS
SCSS
.ZOOMBUTTON {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 34px;
  height: 34px;
  cursor: pointer;
  border: none;
  font: normal 18px/normal "Quantico", Helvetica, sans-serif;
  color: rgba(255,255,255,0.9);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: url("https://enjoycss.com/bg-img/custom/2939-aw7hqi.gif");
  background-repeat: no-repeat;
  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: 34px 34px;
  background-size: 34px 34px;
  -webkit-box-shadow: 0 0 0 0 #599f3f ;
  box-shadow: 0 0 0 0 #599f3f ;
  text-shadow: 1px 1px 0 rgba(168,168,168,0.66) ;
  -webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
}

.ZOOMBUTTON:hover {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background: url("https://enjoycss.com/bg-img/custom/2939-ieaus7.gif");
  background-repeat: no-repeat;
  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;
}

.ZOOMBUTTON:active {
  -webkit-border-radius: 0;
  border-radius: 0;
  background: url("https://enjoycss.com/bg-img/custom/2939-1a3vgf6.gif");
  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;
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.1, 0.25, 1);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.1, 0.25, 1);
  -o-transition: all 100ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transition: all 100ms cubic-bezier(0.25, 0.1, 0.25, 1);
}