Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>The toasters fly from the top-right to the bottom left, and we could choose to animate this by changing the value of z-index or of a newer function called translate().

How would animating the z-index cause the sprite to move from the top right to the bottom left? Z-index controls what draws in front of what, not spatial position.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: