decioferreira/elm-zen-css/1.0.0

CSS.Properties.Animation

The animation shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, and animation-play-state.

Ref.: https://developer.mozilla.org/en-US/docs/Web/CSS/animation

animation : Nonempty SingleAnimation -> Property

Single Animation

type alias SingleAnimation =
{ delay : Maybe Time
, easingFunction : Maybe EasingFunction
, duration : Maybe Time
, iterationCount : Maybe IterationCount
, direction : Maybe Direction
, fillMode : Maybe FillMode
, playState : Maybe PlayState
, name : Maybe Name
}
defaultSingleAnimation : SingleAnimation