EFFECTS

Scale In

Grows slightly into place (from 92% scale) while fading in — a subtle entrance that doesn't move the element far.

Classes

ClassPlays
fx-scale-in-plOn page load
fx-scale-in-stWhen the element scrolls into view
fx-scale-inAutomatically, when its section scrolls into view

Options that matter

  • Duration — fx-duration-[n], default 1 second.
  • Delay — fx-delay-[n], default 0.
  • Ease — fx-ease-[name], default power3.out.
  • Start position — fx-start-[pos], default top 85% (scroll-triggered only).

The starting scale (0.92) can only be changed from JavaScript — see JavaScript API.

Example

<div class="card fx-scale-in-st">…</div>