CSS - Tin Up Out Effect

by Rodwyn Moreno

HTML

<div class="tinUpOut">

</div>

CSS

div {
  background: #61A6AB;
  border-radius: 2px;
  height: 100px;
  width: 100px;
}

.tinUpOut {
  animation: tinUpOut 1s forwards;
}

@keyframes tinUpOut {
  0%,
  20%,
  40%,
  50% {
    opacity: 1;
    transform: scale(1,1) translateY(0);
  }

  10%,
  30% {
    opacity: 1;
    transform: scale(1.1,1.1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(1,1) translateY(-900%);
  }
}