From 258ba7b4be62d8640477a3bd3146d08b00cb70ec Mon Sep 17 00:00:00 2001
From: julieng La propriété Lorsqu'on reprend une animation en pause, celle-ci reprendra où elle avait été interrompue (elle ne recommencera pas depuis le début de la séquence). Note : Lorsqu'on utilise plusieurs valeurs, séparées par des virgules, pour une propriété
La Chenille et Alice se considérèrent un instant en silence.
Enfin la Chenille sortit le houka de sa bouche, et lui adressa
la parole d’une voix endormie et traînante.
-</p>
+
Alice, un peu irritée du parler bref de la Chenille, se redressa
de toute sa hauteur.
-</p> animation-play-state
définit si une animation est en cours d'exécution ou si elle est en pause.Syntaxe
+## Syntaxe
-/* On a une seule animation */
+```css
+/* On a une seule animation */
animation-play-state: running;
animation-play-state: paused;
@@ -29,30 +30,27 @@ animation-play-state: paused, running, running;
animation-play-state: inherit;
animation-play-state: initial;
animation-play-state: unset;
-
+```
-Valeurs
+### Valeurs
-
-
+- `running`
+ - : L'animation est en cours.
+- `paused`
+ - : L'animation est en pause.
-running
paused
animation-*
, elles seront respectivement affectées aux animations définies par {{cssxref("animation-name")}}. Pour plus d'informations, voir : paramétrer les valeurs des propriétés pour plusieurs animations.Syntaxe formelle
+### Syntaxe formelle
{{csssyntax}}
-Exemples
+## Exemples
-CSS
+### CSS
-p {
+```css
+p {
animation-duration: 3s;
animation-name: glissement;
animation-iteration-count: infinite;
@@ -76,53 +74,41 @@ animation-play-state: unset;
margin-left: 0%;
width: 100%;
}
-}
+}
+```
-HTML
+### HTML
-<p class="arret">
+```html
+
+
{{EmbedLiveSample("Exemples","300","200")}}
+{{EmbedLiveSample("Exemples","300","200")}} -Spécification | -État | -Commentaires | -
---|---|---|
{{SpecName('CSS3 Animations', '#animation-play-state', 'animation-play-state')}} | -{{Spec2('CSS3 Animations')}} | -Définition initiale. | -
{{cssinfo}}
+{{cssinfo}} -{{Compat("css.properties.animation-play-state")}}
+{{Compat("css.properties.animation-play-state")}} -