W3C HTML5 Spinning Logo — Flick with finger or mouse in WebKit (925html.com)
This simple example is using YUI 3.3.0 which has support for high-level, device-independant, gesture events which made it easy to make the logo spin when flicked with a mouse or touch gesture. It is also using YUI 3’s CSS transitions module to do the rotateY CSS Transform.
It works in WebKit browsers: Safari, Chrome, MobileSafari (iOS), Android, and should work on BlackBerry Touch 6.0.
View the source on the page, its short and straight forward.
7 comments
[ 2.5 ms ] story [ 29.7 ms ] threadIt works in WebKit browsers: Safari, Chrome, MobileSafari (iOS), Android, and should work on BlackBerry Touch 6.0.
View the source on the page, its short and straight forward.
http://fun.amadeusamade.us/improvedSpinner/
http://fun.amadeusamade.us/iphone/
(Warning, my deceleration method is gehetto, so please forgive, I coded it in a rush :) )