 |
 |
Webkit examples CSS transforms CSS animations
|
 |
|
 |
|
Moderator 
Join Date: Sep 2000
Location: Irvine, CA
Status:
Offline
|
|
I'm interested in learning more about these technologies. All I can find on the Surfing Safari blog is just his general comments about these technologies in Safari along with some links left by commenters with a few code samples and demonstrations. I was wondering where could I find a list of all available commands for CSS transforms and CSS animations and some possible demonstrations for each command. I'm interested in using CSS to do some stuff and I need the proper syntax in order to do so. Thanks.
|
|
{{{ mindwaves }}}
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
|
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Sep 2000
Location: Irvine, CA
Status:
Offline
|
|
Originally Posted by Chuckit
Thanks, but I've seen them before. Actually, that was what I was referring to. However, I'm more interested in seeing the full commands of both CSS transforms and CSS animations. Like all of the available commands unlike those links which just list 1-2.
These demos work in the latest nightly.
|
|
{{{ mindwaves }}}
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
I didn't think there were more. Where did you hear there were?
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Sep 2000
Location: Irvine, CA
Status:
Offline
|
|
I didn't. I just assumed that there were more and more examples somewhere.
|
|
{{{ mindwaves }}}
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
I think that's pretty much it. It's just an experimental feature that was introduced in the WebKit nightlies. It will probably be expanded in the future (and hopefully someday standardized), but I believe those pages are pretty much the documentation at the moment.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jul 2000
Location: Washington, DC
Status:
Offline
|
|
For animation:
transition-property
Values: none | all | <property>
Initial Value: all
Description: Specifies what property triggers an animation. A value of none means there is no transition. A value of all means that every animatable property triggers an animation. Otherwise an animation will only trigger when the exact specified property changes value.
transition-duration
Values: <time>
Inital Value: 0
Description: Specifies how long the transition should take. The default is 0.
transition-timing-function
Values: default | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)
Initial Value: default
Description: The transition-timing-function property describes how the animation will proceed over time. Keywords can be used for common functions or the control points for a cubic bezier function can be given for complete control of the transition function. To specify a cubic bezier function, you give an X and Y values for 2 of the control points of the curve. Point P0 is implicitly set to (0,0) and P3 is implicitly set to (1,1). These 4 points are used to compute a cubic bezier curve.
The timing function keywords have the following definitions:
linear - The linear function just returns as its output the input that it received.
default - The default function is equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).
ease-in - The ease-in function is equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).
ease-out - The ease-out function is equivalent to cubic-bezier(0, 0, 0.58, 1.0).
ease-in-out - The ease-in-out function is equivalent to cubic-bezier(0.42, 0, 0.58, 1.0)
cubic-bezier - Specifies a cubic-bezier curve whose P0 and P3 points are (0,0) and (1,1) respectively. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|