CSS3 propriété jeu état d'animation-
Exemples
Pause Animation:
animation-play-state:paused;
-webkit-animation-play-state:paused; /* Safari 和 Chrome */
-webkit-animation-play-state:paused; /* Safari 和 Chrome */
Essayez »
support du navigateur
Les chiffres du tableau représentent le premier navigateur pour soutenir le numéro de version de la propriété.
Immédiatement après la -webkit- numérique, -ms- ou -moz- il y a à l'appui du préfixe d'attribut premier numéro de version du navigateur.
属性 | |||||
---|---|---|---|---|---|
animation-play-state | 43.0 4.0 -webkit- |
10.0 | 16.0 5.0 -moz- |
9.0 4.0 -webkit- |
30.0 15.0 -webkit- 12.0 -o- |
définitions de balises et les instructions
animation - propriété de l'État jouer indique si l'animation est en cours d'exécution ou en pause.
Remarque: Utilisez cette propriété en JavaScript animation suspendue dans un cycle.
Par défaut: | fonctionnement |
---|---|
Héritage: | aucun |
Version: | CSS3 |
Syntaxe JavaScript: | objet object.style.animationPlayState = "pause" |
grammaire
animation-play-state: paused|running;
值 | 描述 | 测试 |
---|---|---|
paused | 指定暂停动画 | 测试 » |
running | 指定正在运行的动画 | 测试 » |
articles connexes
CSS3 tutoriel: CSS3 Animations