<script src="https://kit.fontawesome.com/a7e9f794eb.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap" rel="stylesheet">

<div class="container">
  <div class="block">
    <div class="head">
      <h2><span>Enjoy</span> The Life</h2>
    </div>
    <div class="bg"></div>
    <div class="iconBox">
      <div class="icon">
        <i class="fas fa-home"></i>
      </div>
      <div class="icon">
        <i class="fas fa-heart"></i>
      </div>
      <div class="icon">
        <i class="fas fa-link"></i>
      </div>
      <div class="icon">
        <i class="fas fa-reply"></i>
      </div>
    </div>
    <div class="footer">
      <p>“Many of life’s failures are people who did not realize how close they were to success when they gave up.” <span>Thomas A. Edison</span></p>
    </div>
  </div>
  <div class="block">
    <div class="head">
      <h2><span>Enjoy</span> The Life</h2>
    </div>
    <div class="bg"></div>
    <div class="iconBox">
      <div class="icon">
        <i class="fas fa-home"></i>
      </div>
      <div class="icon">
        <i class="fas fa-heart"></i>
      </div>
      <div class="icon">
        <i class="fas fa-link"></i>
      </div>
      <div class="icon">
        <i class="fas fa-reply"></i>
      </div>
    </div>
    <div class="footer">
      <p>“Never let the fear of striking out keep you from playing the game.” <span>Babe Ruth</span></p>
    </div>
  </div>
  <div class="block">
    <div class="head">
      <h2><span>Enjoy</span> The Life</h2>
    </div>
    <div class="bg"></div>
    <div class="iconBox">
      <div class="icon">
        <i class="fas fa-home"></i>
      </div>
      <div class="icon">
        <i class="fas fa-heart"></i>
      </div>
      <div class="icon">
        <i class="fas fa-link"></i>
      </div>
      <div class="icon">
        <i class="fas fa-reply"></i>
      </div>
    </div>
    <div class="footer">
      <p>“If life were predictable it would cease to be life, and be without flavor.” <span>Eleanor Roosevelt</span> </p>
    </div>
  </div>
</div>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
}

.block {
  width: 300px;
  height: 300px;
  margin: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 15px 2px #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 100ms linear;
}

.bg {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("https://images.unsplash.com/photo-1418065460487-3e41a6c84dc5?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80");
  background-position: center;
  background-size: cover;
  transition: all 300ms ease-in;
  position: absolute;
}

.block:hover .bg {
  height: calc(100% - 100px);
}

.footer {
  position: absolute;
  height: 100px;
  bottom: 0;
  left: 0;
  font-size: 14px;
  padding: 10px 20px;
  color: #111;
  transform: scaleY(0);
  transition: all 300ms ease-in;
  transform-origin: bottom center;
}

.footer span {
  font-weight: 600;
  color: rgb(71, 20, 255);
  display: block;
  text-align: right;
  padding: 5px;
}

.block:hover .footer {
  transform: scaleX(1);
}

/* Heading Text */
.head {
  position: absolute;
  width: 90%;
  height: 10%;
  top: 10%;
  text-align: center;
  letter-spacing: 2px;
  z-index: 1000;
}

h2 {
  text-shadow: 0 0 1px #111;
  letter-spacing: 3px;
  text-transform: uppercase;
  transform-origin: left center;
  transform: none;
  transition: all 300ms ease-out;
  z-index: 100;
}

h2 span {
  font-weight: 300;
  color: rgb(71, 20, 255);
}
/* Heading Text */

/* Icon Box */
.iconBox {
  position: absolute;
  right: 0;
  top: 10%;
  height: 20%;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 20px;
  transform: translateY(-40px);
  opacity: 0;
  transition: all 300ms ease;
  z-index: 100;
}

.block:hover .iconBox {
  transform: translateY(10px);
  opacity: 1;
}

.iconBox .icon i {
  color: rgb(71, 20, 255);
  font-size: 20px;
  transition: all 300ms ease;
  z-index: 100;
}

.iconBox .icon i:hover {
  color: rgb(20, 255, 126);
  transform: scale(1.2);
}
/* Icon Box */

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.