質問編集履歴

2

css追記

2017/06/21 00:57

投稿

helloman
helloman

スコア39

test CHANGED
File without changes
test CHANGED
@@ -34,11 +34,19 @@
34
34
 
35
35
  animation-name: over;
36
36
 
37
+ animation-duration: 1s;
38
+
39
+ animation-fill-mode: both;
40
+
37
41
  }
38
42
 
39
43
  .out {
40
44
 
41
45
  animation-name: out;
46
+
47
+ animation-duration: 1s;
48
+
49
+ animation-fill-mode: both;
42
50
 
43
51
  }
44
52
 

1

cssを追加

2017/06/21 00:57

投稿

helloman
helloman

スコア39

test CHANGED
File without changes
test CHANGED
@@ -25,6 +25,60 @@
25
25
  });
26
26
 
27
27
  ```
28
+
29
+
30
+
31
+ ```css
32
+
33
+ .over {
34
+
35
+ animation-name: over;
36
+
37
+ }
38
+
39
+ .out {
40
+
41
+ animation-name: out;
42
+
43
+ }
44
+
45
+ @keyframes over {
46
+
47
+ from {
48
+
49
+ opacity: 1;
50
+
51
+ }
52
+
53
+ to {
54
+
55
+ opacity: .1;
56
+
57
+ }
58
+
59
+ }
60
+
61
+ @keyframes out {
62
+
63
+ from {
64
+
65
+ opacity: .1;
66
+
67
+ }
68
+
69
+ to {
70
+
71
+ opacity: 1;
72
+
73
+ }
74
+
75
+ }
76
+
77
+ ```
78
+
79
+
80
+
81
+
28
82
 
29
83
  単純に
30
84