Animations

There are several ways to animate elements in ReactUnity:

  • With CSS keyframes and animation to create custom animations
  • With CSS animation-timeline to drive those keyframes from a scroll position, or from an element’s passage through a scroll view, rather than from the clock
  • With CSS transition property to animate changes in properties
  • With CSS :enter and :leave pseudo-classes with transition property to animate element insertion and removal
  • With CSS motion property to animate changes to rect transform
  • With CSS audio property to play audio clips