質問編集履歴
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,13 +1,85 @@
|
|
1
|
+
```ここに言語を入力
|
2
|
+
|
3
|
+
コード
|
4
|
+
|
5
|
+
<div id = "box">
|
6
|
+
|
7
|
+
<div class = "toppage">
|
8
|
+
|
1
|
-
|
9
|
+
<div class = "toppage-content">今日のキミが明日のキミをつくる</div>
|
10
|
+
|
11
|
+
<div class = "square_btn"><%= link_to "To do your tasks", tasks_path %></div>
|
12
|
+
|
13
|
+
</div>
|
14
|
+
|
15
|
+
</div>
|
2
16
|
|
3
17
|
|
4
18
|
|
19
|
+
|
20
|
+
|
21
|
+
```ここに言語を入力
|
22
|
+
|
23
|
+
コード
|
24
|
+
|
25
|
+
#box {
|
26
|
+
|
5
|
-
|
27
|
+
background-image: url("8a8320b3e63e28fa78a52562639c0cbb_m.jpg");
|
28
|
+
|
29
|
+
background-size: cover;
|
30
|
+
|
31
|
+
background-position: center;
|
32
|
+
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
.toppage {
|
38
|
+
|
39
|
+
padding-top: 250px;
|
40
|
+
|
41
|
+
}
|
6
42
|
|
7
43
|
|
8
44
|
|
45
|
+
.toppage-content {
|
46
|
+
|
47
|
+
text-align: center;
|
48
|
+
|
49
|
+
font-size: 45px;
|
50
|
+
|
51
|
+
font-weight: normal;
|
52
|
+
|
53
|
+
font-style: italic;
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
.square_btn {
|
58
|
+
|
59
|
+
text-align: center;
|
60
|
+
|
61
|
+
text-decoration: none;
|
62
|
+
|
63
|
+
font-weight: bold;
|
64
|
+
|
65
|
+
font-size: 37px;
|
66
|
+
|
67
|
+
color: #799dec;
|
68
|
+
|
9
|
-
|
69
|
+
text-shadow: 0 4px 2px rgba(0, 0, 0, 0.32), 0px 1px 0px #6182ca, 0px 2px 0px #4f6aa7, 0px 3px 0px #5470ad;
|
70
|
+
|
71
|
+
}
|
10
72
|
|
11
73
|
|
12
74
|
|
75
|
+
.square_btn:active {
|
76
|
+
|
77
|
+
top: 4px;
|
78
|
+
|
79
|
+
text-shadow: none;
|
80
|
+
|
81
|
+
}
|
82
|
+
|
83
|
+
```
|
84
|
+
|
13
|
-
|
85
|
+
画像が半分しか表示されないのですが、原因わかる方いらっしゃいましたら教えてください
|