質問編集履歴
2
コード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,6 +22,8 @@
|
|
22
22
|
<div class="base">
|
23
23
|
<div class="box"></div>
|
24
24
|
</div>
|
25
|
+
|
26
|
+
<button>ONE MORE</button>
|
25
27
|
```
|
26
28
|
```css
|
27
29
|
@keyframes inhale {
|
@@ -69,5 +71,14 @@
|
|
69
71
|
background: rgb(0, 176, 230);
|
70
72
|
}
|
71
73
|
```
|
74
|
+
```jQuery
|
75
|
+
$(function() {
|
76
|
+
$("button").on('click', function() {
|
77
|
+
$(".box").addClass('inhale').on('animationend', function() {
|
78
|
+
$(this).removeClass('inhale');
|
79
|
+
});
|
80
|
+
});
|
81
|
+
});
|
82
|
+
```
|
72
83
|
|
73
84
|
よろしくお願いします。
|
1
タグ追加
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|