mdgriffith/style-elements/5.0.2

Style.Transition

Transitions

all : Property class variation

Sets transitions on all properties.

It defaults to:

- 130ms duration
- "ease" easing.
performant : Property class variation

This enables transitions on properties that will be GPU accelerated: transform, filter, and opacity.

It defaults to:

- 130ms duration
- "ease" easing.
transitions : List Transition -> Property class variation

Create a set of transitions manually.

type alias Transition =
{ delay : Time
, duration : Time
, easing : String
, props : List String
}