Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

How do I use @keyframes in code?

$
0
0

I don't know what is the correct syntax por use @keyframes in code window. http://www.w3schools.com/cssref/css3_pr_animation-keyframes.asp

 

I tried something like this:

sym.getComposition().getStage().$("Opcions").css({"-webkit-keyframes": "top(600px)"});

or this:

sym.getComposition().getStage().$("Opcions").css({"-webkit-keyframes": "from {top:0px;} to {top:200px;}"});

 

but nothing...

 

I have some problems with animate method (jQuery) and I want to try an alternative with CSS3.


Viewing all articles
Browse latest Browse all 9897

Trending Articles