This module contains the functions used to animate the appearance of a new slide fragment (or the hiding of an old one, if going backwards).
fade : Basics.Float -> Css.Style
Fade in
Basics.Float -> Css.Style
Shorthand for the function type used to animate the fragments.
fade : Animator
fade completion =
Css.batch
[ Css.opacity (Css.num completion)
, Css.property "filter" (Slides.Blur.blur completion)
, Css.property "-webkit-filter" (Slides.Blur.blur completion)
]