回答編集履歴
2
さらに追記
answer
CHANGED
@@ -15,4 +15,7 @@
|
|
15
15
|
```javascript
|
16
16
|
//$("#hoge").css("animation-play-state","running");
|
17
17
|
$("#hoge").addClass("animerun");
|
18
|
-
```
|
18
|
+
```
|
19
|
+
|
20
|
+
#さらに追記
|
21
|
+
submit時(前)にアニメーションをpausedすると再開できませんか?
|
1
追記
answer
CHANGED
@@ -1,4 +1,18 @@
|
|
1
1
|
IE11はショートハンドが失敗するらしいのでrunningがすでに書いてある場合は
|
2
2
|
一度分割してみては?
|
3
3
|
|
4
|
-
[https://teratail.com/questions/72976](https://teratail.com/questions/72976)
|
4
|
+
[https://teratail.com/questions/72976](https://teratail.com/questions/72976)
|
5
|
+
|
6
|
+
#追記
|
7
|
+
addClassではどうなります?
|
8
|
+
|
9
|
+
```css
|
10
|
+
.animerun {
|
11
|
+
animation-play-state: running;
|
12
|
+
}
|
13
|
+
```
|
14
|
+
|
15
|
+
```javascript
|
16
|
+
//$("#hoge").css("animation-play-state","running");
|
17
|
+
$("#hoge").addClass("animerun");
|
18
|
+
```
|