A transform can be specified using the -webkit-transform property. It supports a list of functions, where each single function represents a transform operation to apply. You can chain together operations to apply multiple transforms at once to an object (e.g., if you want to both scale and rotate a box).
At the moment transforms do not affect layout, so they are similar to relative positioning in that respect. We are exploring ideas for how to do transforms in ways that could affect layout.
Michael Daines got to work and created the following example that makes the logo bump and grind using this JavaScript:
PLAIN TEXT
JAVASCRIPT:
1.
2.
HilariousWebkitTransform = {
3.
angle: 0,
4.
scale: 1,
5.
scaleFactor: 1.01,
6.
image: document.getElementById("gold-webkit-icon-in-box"),
7.
8.
animate: function() {
9.
this.angle += 1;
10.
this.scale *= this.scaleFactor;
11.
12.
if (this.scale> 2)
13.
this.scaleFactor = 0.99;
14.
15.
if (this.scale <1)
16.
this.scaleFactor = 1.01;
17.
18.
if (this.angle> 360)
19.
this.angle = 1;
20.
21.
this.image.style.webkitTransform = otate( + this.angle + wouldeg) scale(+ this.scale + );
22.
}
23.
}
24.
25.
setInterval(function() { HilariousWebkitTransform.animate(); }, 10);
26.
Webkit Transforms
source: ajaxian
Related Stuff
-
MooV: Using cutting edge Video phones and Software Video Phones - coupling all that with VoIP and empowering the disabled.
-
Moo Telecom: VoIP communications made easy - Ring anyway with the fun and ease of using a normal phone
-
TagR:Mobile Social Network with Real Time Locations Based services, and Ambience Intelligence, VoiP, IM, Skype, Googletalk, Mapping, Flickr, Events, Calendaring, Scheduling, SecondLife Support
-
ClearSMS : ClearSMS is a Web-based application that lets you send bulk SMS messages to your customers, contacts, or just about anyone.
-
Jajah:jah is a VoIP (Voice over IP) provider, founded by Austrians Roman Scharf and Daniel Mattes in 2005[1]. The Jajah headquarters are located in Mountain View, CA, USA, and Luxembourg. Jajah maintains a development centre in Israel.
-
Skype: It’s free to download and free to call other people on Skype. Skype the number one voice over ip software
- PrivatePhone: a free local phone number with voicemail and messages you can check online or from any phone.

Original Source: