<div class="wrapper">
  Hey there <span class="waving-hand">👋</span>
</div>
.wrapper {
  font-size: 48px;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes wave {
  0% { transform: rotate(0.0deg) }
  10% { transform: rotate(16.0deg) }
  20% { transform: rotate(-6.0deg) }
  30% { transform: rotate(16.0deg) }
  40% { transform: rotate(-4.0deg) }
  50% { transform: rotate(16.0deg) }
  60% { transform: rotate(0.0deg) }
  100% { transform: rotate(0.0deg) }
}

.waving-hand {
  animation: wave 2.1s 0.6s infinite;
  transform-origin: 75% 75%;
  display: inline-block;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.