<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">

<div class="frame">
  <div class="card">
    <div class="flip hvr-outline-in">
      
      <div class="front">
        <h1>hey.</h1>
        <p class="flip-me">Flip Me</p>
        <div class="line line-1"></div>
        <div class="line line-2"></div>
        <i class="fa fa-heart"></i>
      </div>
      
      <div class="back">
        <i class="fa fa-heart"></i>
        <h3>Hermione</h3>
        <div class="line line-3"></div>
        <h2>Web Developer</h2>
        <div class="social">
          <i class="fab fa-codepen"></i>
          <i class="fab fa-twitter"></i>
          <i class="fab fa-linkedin-in"></i>
          <i class="fab fa-github"></i>
        </div>
      </div>
    </div>
  </div>
</div>
// use only the available space inside the 400x400 frame
@import url('https://fonts.googleapis.com/css?family=Nunito|Satisfy');

body {
  background: #643a7a;
  font-family: 'nunito', sans-serif;
}

.frame {   
  position: absolute;
  background-color: #201c29;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 2px;
  box-shadow: .5rem 1rem 1rem rgba(0,0,0,0.6);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
}
.frame, .card {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flip-me {
  position: absolute;
  top: 30%;
  left: 77%;
  font-size: 1.3rem;
  transform: rotate(-90deg);
}
.card {
  width: 80%;
  height: 40%;
  padding: 1rem;
  background: linear-gradient(178deg, #ef2f96, #ad2fed, #ad2fed, #d53070);
  background-size: 600% 600%;
  animation: background 7s ease infinite;
  perspective: 800px;
}

.front {
  h1 {
    font-family: Satisfy, cursive;
    font-size: 8rem;
    margin: 1rem 5rem;
    text-shadow: .2rem .2rem .5rem fade-out(black, .8);
  }
}
h1, h2, .fa-heart {
  background: linear-gradient(178deg, #ef2f96, #ad2fed, #ad2fed, #d53070);
  background-size: 600% 600%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: background 7s ease infinite;
}
@keyframes background {
    0%, 100%{background-position:0% 13%}
    50%{background-position:100% 88%}
}
p {
  position: absolute;
  top: 60%;
  left: 10%;
  color: fade-out(white, .8);
  padding: .8rem 0 .2rem .5rem;
}
p:nth-of-type(2) {
  opacity: 0;
  transform: translate(-2rem);
}
.hvr-outline-in {
  position: relative;
}
.hvr-outline-in:before {
  content: '';
  position: absolute;
  border: 1px solid #ad2fed;
  top: -16px;
  right: -16px;
  bottom: -16px;
  left: -16px;
  opacity: 0;
}
.hvr-outline-in:hover:before, .hvr-outline-in:focus:before, .hvr-outline-in:active:before {
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  opacity: 1;
  transform: rotate(135deg) scale(3);
  transition: .3s;
}

.card:hover .flip {
  transform: rotateX(180deg) translate3d(0, 0, 0);
  box-shadow: 8px -10px 15px 0 rgba(0, 0, 0, 0.5);
}

.flip {
  transform-style: preserve-3d;
  transition: all .7s ease-in-out;
  perspective: 1000px;
}

.front, .back {
  backface-visibility: hidden;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #201c29;
}
.card .back {
  transform: rotateX(-180deg);
  position: absolute;
  top: 0;
  left: 0;
}

.back {
  letter-spacing: 2px;
  text-align: center;
  h2 {
    font-size: 2.3rem;
    margin: .5rem;
  }
  h3 {
    color: fade-out(#fff, .3);
    font-family: satisfy, cursive;
    font-weight: 300;
    font-size: 1.9rem;
    margin: 1.8rem;
  }
}
.front i {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 2rem;
  transform: rotate(45deg);
}
.back .fa-heart {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2rem;
  transform: rotate(135deg);
}
.line {
  width: 2rem;
  height: 2px;
  background: fade-out(#fff, .6);
  position: absolute;
}
.line-1 {
  top: 85%;
}
.line-2 {
  top: 13%;
}
.line-1, .line-2 {
  left: 82.5%;
  transform: rotate(-90deg);
  background: purple;
  width: 3rem;
}
.line-3 {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social {
  font-size: 1.3rem;
  color: fade-out(#fff, .6);
  i {
    padding: 0 .5rem;
    &:hover {
      color: fade-out(#fff, .3);
      cursor: pointer;
    }
  }
}
View Compiled
// jQuery v3.3.1 is supported

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://100dayscss.com/codepen/js/jquery.min.js