Re: transitions vs. animations

2010-04-06 20:39, Tab Atkins Jr. skrev:
> Short answer: no, it has nothing to do with events.

:focus + on-entry eq. onfocus
:focus + on-exit  eq. onblur
:hover + on-entry eq. onmouseenter
:hover + on-exit  eq. onmouseleave

This seems an awful lot like events to me. The very fact that you 
proposed a property called "on" makes the thought not that far fetched, IMO.

> An event-based
> animation model in CSS is a bad idea.

Agreed. Like Don Quijote I have been trying to suggest that animations 
belong in the DOM for a while now...


-- 
Lars Gunther
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/

Received on Tuesday, 6 April 2010 19:08:11 UTC