I don't have any experience with this, but the TodoMVC example uses a tiny 
bit of CSS animations:
See the '.todo-list li label' selector in 'style.css' 
at https://github.com/evancz/elm-todomvc

-keith

On Thursday, October 13, 2016 at 10:03:34 AM UTC-7, Timothy Williams wrote:
>
> Whenever I google something like this, I always get discussions about Elm 
> libraries for this. 
>
> As someone new to css in general, I just want to be able to do normal css 
> animations using elm to model the state, do the event handling, and render 
> the html.
>
> For example, if the state is toggled in the model to that hides a menu, 
> can I use css to make that menu gradually disappear, as opposed to 
> suddenly, without using an elm library?
>
> Of course, I'm not referring to anything complex with canvas or svg, I can 
> see the appeal of writing svg or canvas code in elm. I just mean for plain 
> dom elements for a basic ui.
>
> Would this be the preferred approach?
>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to