SOURCE

console 命令行工具 X clear

                    
>
console
<figure class="effect-lily">
  <img src="https://tympanus.net/Development/HoverEffectIdeas/img/12.jpg" alt="img12"/>
  <div>
    <h2>Nice <span>Lily</span></h2>
    <p>Lily likes to play with crayons and pencils</p>
  </div>
  <a href="#">View more</a>   
</figure>
figure.effect-lily {
  position: relative;
  width: 48%;
  min-width: 320px;
  max-width: 480px;
  max-height: 360px;
  margin: 10px auto;
  background: #3085a3;
  overflow: hidden;
  cursor: pointer;
}
figure.effect-lily img {
  display: block;
  min-height: 100%;
  width: calc(100% + 50px);
  opacity: 0.7;
  transition: opacity 0.35s, transform 0.35s;
  transform: translate3d(-50px, 0, 0);
}
figure.effect-lily > div{
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 2em;
  width: 100%;
  height: 50%;
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.25em;  
}
figure.effect-lily h2 {
  margin: 0;
  word-spacing: -0.15em;
  font-weight: 300;
  transform: translate3d(0, 40px, 0);
  transition: transform 0.35s;
}
figure.effect-lily h2 span {
  font-weight: 800;
}
figure.effect-lily p {
  margin: 0;
  font-size: 68.5%;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.2s, transform 0.35s 0.05s;
}
figure.effect-lily > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
figure.effect-lily:hover img,
figure.effect-lily:hover p {
  opacity: 1;
}
figure.effect-lily:hover img,
figure.effect-lily:hover h2,
figure.effect-lily:hover p {
  transform: translate3d(0,0,0);
}