戻る
#0301001 タップでプレビュー P o p u p   T e x t
<span class="c-popupAnim">
  <span>P</span>
  <span>o</span>
  <span>p</span>
  <span>u</span>
  <span>p</span>
  <span> </span>
  <span>T</span>
  <span>e</span>
  <span>x</span>
  <span>t</span>
</span>
.c-popupAnim {
  flex-shrink: 0;
  gap: 0;
  display: flex;
}

.c-popupAnim span {
  color: #fff;
  animation: pop-up 3s ease infinite;
}

@keyframes pop-up {
  0% {
    transform: translateY(0px);
  }

  10% {
    transform: translateY(-2px);
  }

  20% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(0px);
  }
}

.c-popupAnim span:nth-child(1) {
  animation-delay: 0s;
}

.c-popupAnim span:nth-child(2) {
  animation-delay: 0.15s;
}

.c-popupAnim span:nth-child(3) {
  animation-delay: 0.3s;
}

.c-popupAnim span:nth-child(4) {
  animation-delay: 0.45s;
}

.c-popupAnim span:nth-child(5) {
  animation-delay: 0.6s;
}

.c-popupAnim span:nth-child(6) {
  animation-delay: 0.75s;
}

.c-popupAnim span:nth-child(7) {
  animation-delay: 0.9s;
}

.c-popupAnim span:nth-child(8) {
  animation-delay: 1.05s;
}

.c-popupAnim span:nth-child(9) {
  animation-delay: 1.2s;
}

.c-popupAnim span:nth-child(10) {
  animation-delay: 1.35s;
}

.c-popupAnim span:nth-child(11) {
  animation-delay: 1.5s;
}

.c-popupAnim span:nth-child(12) {
  animation-delay: 1.65s;
}

.c-popupAnim span:nth-child(13) {
  animation-delay: 1.8s;
}

.c-popupAnim span:nth-child(14) {
  animation-delay: 1.95s;
}

.c-popupAnim span:nth-child(15) {
  animation-delay: 2.1s;
}

.c-popupAnim span:nth-child(16) {
  animation-delay: 2.25s;
}

.c-popupAnim span:nth-child(17) {
  animation-delay: 2.4s;
}

.c-popupAnim span:nth-child(18) {
  animation-delay: 2.55s;
}

.c-popupAnim span:nth-child(19) {
  animation-delay: 2.7s;
}

.c-popupAnim span:nth-child(20) {
  animation-delay: 2.85s;
}
.c {
  &-popupAnim {
    flex-shrink: 0;
    gap: 0;
    display: flex;

    span {
      color: #d0312f;
      animation: pop-up 3s ease infinite;

      @keyframes pop-up {
        0% {
          transform: translateY(-0px);
        }
        10% {
          transform: translateY(-2px);
        }
        20% {
          transform: translateY(-0px);
        }
        100% {
          transform: translateY(-0px);
        }
      }

      @for $i from 1 through 20 {
        &:nth-child(#{$i}) {
          animation-delay: 0.15s * ($i - 1);
        }
      }
    }
  }
}
p