Thanks for your like.
You've done it, haven't you?
{"sid":"gGL","rid":3,"page":"code","page_params":[],"username":"simonecrema"}
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">Cerca come raggiungerci</div>
<link async href="http://fonts.googleapis.com/css?family=Josefin%20Sans" data-generated="http://enjoycss.com" rel="stylesheet" type="text/css"/>
Copy to clipboard
CSS
LESS
SCSS
.enjoy-css {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 100%;
  height: 160px;
  padding: 20px;
  border: none;
  font: normal normal bold 14px/20 "Josefin Sans", Helvetica, sans-serif;
  color: rgba(255,255,255,0);
  text-decoration: overline;
  text-align: center;
  -o-text-overflow: clip;
  text-overflow: clip;
  word-spacing: 4px;
  background: url("https://enjoycss.com/bg-img/custom/3391-3qc6lj.png");
  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 120px;
  background-size: auto 120px;
  -webkit-transition: all 400ms cubic-bezier(0.42, 0, 0.46, 1.375) 10ms, color 300ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -moz-transition: all 400ms cubic-bezier(0.42, 0, 0.46, 1.375) 10ms, color 300ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  -o-transition: all 400ms cubic-bezier(0.42, 0, 0.46, 1.375) 10ms, color 300ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
  transition: all 400ms cubic-bezier(0.42, 0, 0.46, 1.375) 10ms, color 300ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
}

.enjoy-css:hover {
  height: 120px;
  overflow: hidden;
  font: normal normal bold 13px/20 "Josefin Sans", Helvetica, sans-serif;
  color: rgba(40,40,40,1);
  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 80%;
  background-size: auto 80%;
  -webkit-transition: all 400ms cubic-bezier(0.785, 0.085, 0.37, 0.8) 10ms, color 400ms cubic-bezier(0.435, 0.05, 0.3, 0.905) 10ms;
  -moz-transition: all 400ms cubic-bezier(0.785, 0.085, 0.37, 0.8) 10ms, color 400ms cubic-bezier(0.435, 0.05, 0.3, 0.905) 10ms;
  -o-transition: all 400ms cubic-bezier(0.785, 0.085, 0.37, 0.8) 10ms, color 400ms cubic-bezier(0.435, 0.05, 0.3, 0.905) 10ms;
  transition: all 400ms cubic-bezier(0.785, 0.085, 0.37, 0.8) 10ms, color 400ms cubic-bezier(0.435, 0.05, 0.3, 0.905) 10ms;
}