<div class="background">
  <div class="wrapper">
  <div class="flowerWrapper">
    <div class="flowerCenter">a</div>
  </div>
  <div class="leaf">a</div>
  <div class="petalWrapper">
    <div class="petal one">a</div>
    <div class="petal two">a</div>
    <div class="petal three">a</div>
    <div class="petal four">a</div>
    <div class="petal five">a</div>
    <div class="petal six">a</div>
    <div class="petal seven">a</div>
    <div class="petal eight">a</div>
    <div class="petal nine">a</div>
    <div class="petal ten">a</div>
    <div class="petal eleven">a</div>
  </div>
  </div>

  <div class="butterflyWrapper first">
    <div class="butterfly">
      <div class="left">a</div>
      <div class="right">a</div>
    </div>
  </div>

  <div class="butterflyWrapper second">
    <div class="butterfly">
      <div class="left">a</div>
      <div class="right">a</div>
    </div>
  </div>

  <div class="butterflyWrapper third">
    <div class="butterfly">
      <div class="left">a</div>
      <div class="right">a</div>
    </div>
  </div>

  <div class="butterflyWrapper fourth">
    <div class="butterfly">
      <div class="left">a</div>
      <div class="right">a</div>
    </div>
  </div>
  
  <div class="butterflyWrapper black">
    <div class="butterfly">
      <div class="left">a</div>
      <div class="right">a</div>
    </div>
  </div>

  <div class="butterflyWrapper white">
    <div class="butterfly">
      <div class="left">a</div>
      <div class="right">a</div>
    </div>
  </div>
</div>
body {
  position: relative;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;

}

.background {
  position: relative;
  background: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.25);
  width: 400px;
  height: 400px;
  color: black;
}

.wrapper {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 400px;
}

.butterflyWrapper {
  position: absolute;
  
  &.first {
    top: 35px;
    left: 148px;
    transform: scale(.95) rotate(18deg);
    
    .butterfly {
      animation: butterfly 3s linear infinite;
    }
  }
  
  &.second {
    bottom: 88px;
    right: 152px;
    transform: scale(.75) rotate(33deg);
    
    .butterfly {
      animation: butterfly 2.8s linear -0.43s infinite;
    }
  }
  
  &.third {
    top: 107px;
    right: 25px;
    transform: scale(.85) rotate(-50deg);
    
    .butterfly {
      animation: butterfly 4.2s linear .35s infinite;
    }
  }
  
  &.fourth {
    bottom: 25px;
    left: 22px;
    transform: scale(.5) rotate(-15deg);
    
    .butterfly {
      animation: butterfly 3.3s linear .35s infinite;
    }
  }
  
  &.white {
    color: white;
  }
  
  &.black {
    color: black;
  }
  
  &.white, &.black {
    top: -11px;
    right: 42px;
    transform: scale(0.75) rotate(-48deg);
    
    
    .butterfly {
      animation: butterfly 3.8s linear -0.45s infinite;
    }
  }
  
.butterfly {
  position: absolute;
  font-family: "Sarina", cursive;
  transform: rotate(90deg);
  font-size: 30px;

  .left {
    transform: scaleY(-1) rotate(-15deg);
  }

  .right {
    transform: rotate(-15deg);
    margin-top: -21px;
  }
}
}

.flowerWrapper {
  position: relative;
  font-family: "Ruge Boogie", cursive;
  font-size: 600px;
  line-height: 0;
  transform: translate(0, -8px);

  .flowerCenter {
    transform: rotate(25deg);
  }
}

.leaf {
  position: absolute;
  font-size: 180px;
  bottom: -80px;
  right: 128px;
  font-family: "Akronim", cursive;
  transform: rotate(179deg);
}

.petalWrapper {
  position: relative;
  font-size: 200px;
  font-family: "Akronim", cursive;
  transform: translate(-86px, -37px);

  .petal {
    position: absolute;
  }

  .one {
    left: -150px;
    bottom: -149px;
    transform: rotate(23deg) scaleY(-1);
  }

  .two {
    left: -105px;
    bottom: -82px;
    transform: rotate(54deg) scaleY(-1);
    font-size: 160px;
  }

  .three {
    left: -54px;
    bottom: -30px;
    transform: rotate(75deg) scaleY(-1);
    font-size: 120px;
  }

  .four {
    left: -4px;
    bottom: -9px;
    transform: rotate(112deg) scaleY(-1);
    font-size: 100px;
  }

  .five {
    left: 35px;
    bottom: -23px;
    transform: rotate(135deg) scaleY(-1);
    font-size: 100px;
  }

  .six {
    left: 59px;
    bottom: -56px;
    transform: rotate(182deg) scaleY(-1);
    font-size: 100px;
  }

  .seven {
    left: 47px;
    bottom: -105px;
    transform: rotate(225deg) scaleY(-1);
    font-size: 111px;
  }

  .eight {
    left: 17px;
    bottom: -168px;
    transform: rotate(225deg) scaleY(-1);
    font-size: 135px;
  }

  .nine {
    left: -51px;
    bottom: -230px;
    transform: rotate(266deg) scaleY(-1);
    font-size: 135px;
  }

  .ten {
    left: -110px;
    bottom: -231px;
    transform: rotate(305deg) scaleY(-1);
    font-size: 135px;
  }

  .eleven {
    left: -139px;
    bottom: -186px;
    transform: rotate(321deg) scaleY(-1);
    font-size: 141px;

  }
}

@keyframes butterfly {
  0%,
  30%,
  40%,
  100% {
    transform: rotate(90deg) scale(1);
  }
  33%,
  37% {
    transform: rotate(90deg) scale(1, 0);
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.