Typography · 19 of 33

Breathing

Gentle pulse — meditative scale

HTML · CSS · No dependencies · MIT

HTML

<p class="breathing-headline">Breathe</p>

CSS

.breathing-headline {
  font-size: 3.5rem;
  font-weight: 600;
  text-align: center;
  transform-origin: center center;
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}