質問編集履歴
1
html,cssを追加修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,17 +18,35 @@
|
|
18
18
|
|
19
19
|
```html
|
20
20
|
|
21
|
+
<footer>
|
22
|
+
|
21
23
|
<div id="page-top">
|
22
24
|
|
23
25
|
<a href="#">PAGETOP</a>
|
24
26
|
|
25
27
|
</div>
|
26
28
|
|
29
|
+
</footer>
|
30
|
+
|
27
31
|
```
|
28
32
|
|
29
33
|
|
30
34
|
|
31
35
|
```scss
|
36
|
+
|
37
|
+
footer{
|
38
|
+
|
39
|
+
background: #ff5c6d;
|
40
|
+
|
41
|
+
color: white;
|
42
|
+
|
43
|
+
padding: 20% 5% 2% 25%;
|
44
|
+
|
45
|
+
position: relative;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
|
32
50
|
|
33
51
|
#page-top{
|
34
52
|
|
@@ -40,13 +58,13 @@
|
|
40
58
|
|
41
59
|
right: 30px;
|
42
60
|
|
43
|
-
top: 90px;
|
44
|
-
|
45
61
|
transition-duration: 0.5s;
|
46
62
|
|
47
63
|
transition-property: transform;
|
48
64
|
|
49
65
|
position: absolute;
|
66
|
+
|
67
|
+
top: 12px;
|
50
68
|
|
51
69
|
&:hover{
|
52
70
|
|
@@ -61,6 +79,8 @@
|
|
61
79
|
font-weight: bold;
|
62
80
|
|
63
81
|
color: white;
|
82
|
+
|
83
|
+
text-decoration: none;
|
64
84
|
|
65
85
|
}
|
66
86
|
|