Overview
N bubbles, CSS vars for x, negative animation-delay for phase. Loop.
Build
- 01
bubbleCount.
- 02
speeds / sizes / x.
- 03
negative delay.
.b { animation: bubble-rise 2.4s infinite; animation-delay: var(--phase) }Example source React / TSX
examples/rising-bubble-field.tsx · Uses the catalog’s shared composition helpers.
Loading source…