Actually, a quick note to anyone in future googleing this (hi!) beware of
another limitation in firefox
"During a CSS transition, getComputedStyle returns the original property
value in Firefox, but the final property value in WebKit."
https://developer.mozilla.org/en/docs/Web/API/window.getComput
perfect.
I wasn't aware you could do it just like that. That works fine. (at least
on FF and Chrome).
Also saves me from having all those ugly vendor extensions.
~~~
Thomas & Bertines online review show:
http://randomreviewshow.com/index.html
Try it! You might even feel ambivalent about it :)
O
Have you tried using transitions instead of animations?
So you add
transition:transform ease-in-out 1s;
transform:translate(0px, 0px);
as CSS class to the element you want to translate and then dynamically add
a style attribute to that element which contains
transform:translate(targetX, targe
I have an engine I was making that requires scrolling a large scene amount.
I have had this working with gwt for awhile, but recently spotted I can
scroll it much smoother by CSS. I guess the browser is more optimised then
my code for this, and as a side-effect I can easily play with ease-in
eas