浏览器平移一次:
rexseeBrowserStyle.startAnimation('animation-type:translate;animation-duration:1000;animation-repeat-count:1;animation-repeat-mode:reverse;animation-translate-x-from:0;animation-translate-x-to:0;animation-translate-y-from:0;animation-translate-y-to:-100;animation-center-x:0;animation-center-y:0;');
运行示例
浏览器放大缩小一次:
rexseeBrowserStyle.startAnimation('animation-type:scale;animation-duration:1000;animation-repeat-count:1;animation-repeat-mode:reverse;animation-scale-x-from:1;animation-scale-x-to:2;animation-scale-y-from:1;animation-scale-y-to:2;animation-center-x:50;animation-center-y:50;');
运行示例
浏览器渐隐渐显一次:
rexseeBrowserStyle.startAnimation('animation-type:alpha;animation-duration:1000;animation-repeat-count:1;animation-repeat-mode:reverse;animation-alpha-from:100;animation-alpha-to:0;');
运行示例
浏览器旋转一次:
rexseeBrowserStyle.startAnimation('animation-type:rotate;animation-duration:1000;animation-repeat-count:1;animation-repeat-mode:reverse;animation-rotate-from:-360;animation-rotate-to:0;');
运行示例
|