altayaydemir / style-elements / Style.Transition

Transitions

all : Style.Property class variation

Sets transitions on all properties.

It defaults to:

- 130ms duration
- "ease" easing.

performant : Style.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 -> Style.Property class variation

Create a set of transitions manually.


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