Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ See some examples here: https://elm-simple-animation-examples.surge.sh/

Animate HTML, SVG (or any UI Elements) with declarative animations and transitions

A working example: https://ellie-app.com/d5nyjJY3Ptna1

```elm
import Html exposing (Html)
import Simple.Animation as Animation exposing (Animation)
Expand Down Expand Up @@ -45,6 +47,8 @@ When you want some typesafe, simple, decorative animations or transitions, but y

## For Animations:

A working example: https://ellie-app.com/d5nmZJv84f2a1

1 . Define an animation (either `fromTo` or a sequence of `steps`)

```elm
Expand Down Expand Up @@ -72,6 +76,8 @@ spinningBox =

## For Transitions

A working example: https://ellie-app.com/d5nxzgtzCpva1

Just add a transition as a Html Attribute

```elm
Expand Down