JSFiddle - React, Tailwind, and code Playground

by Ayri Rin

HTML

<div class="wrapper">
  <div class="floater"> 
    <div class="text">breathe</div>
    <div class="text">EasY</div>
  </div>
</div>

CSS

@import "https://fonts.googleapis.com/css?family=Megrim";
.wrapper {
  background: -webkit-linear-gradient(45deg, #d6306d, #fff581);
  background: linear-gradient(45deg, #d6306d, #fff581);
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: -100;
  -webkit-perspective: 500px;
          perspective: 500px;
  box-sizing: border-box;
  border: 14px solid white;
}

.floater {
  height: 300px;
  width: 300px;
  background: white;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 10px;
  box-shadow: 0px 13px 30px -10px rgba(0, 0, 0, 0.8);
  -webkit-transition: all 600ms ease;
  transition: all 600ms ease;
  margin: 10px;
  -webkit-animation: breathe 3s infinite;
          animation: breathe 3s infinite;
  -webkit-animation-timing-function: easeOutBack;
          animation-timing-function: easeOutBack;
  color: #d6306d;
  font-size: 3rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.floater .text {
  display: block;
  font-family: Megrim, cursive;
  font-size: 4rem;
  padding-top: .8rem;
  border-top: 2px solid #d6306d;
}
.floater .text:last-child {
  font-size: 5rem;
  margin-top: -.8rem;
  padding-bottom: 1rem;
  border-top: none;
  border-bottom: 2px solid #d6306d;
}
.floater:hover {
  box-shadow: 0px 60px 30px -30px...