質問編集履歴
2
CSS全文を記載しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,6 +32,192 @@
|
|
32
32
|
|
33
33
|
```CSS
|
34
34
|
|
35
|
+
html, body,
|
36
|
+
|
37
|
+
ul, ol, li,
|
38
|
+
|
39
|
+
h1, h2, h3, h4, h5, h6, p,
|
40
|
+
|
41
|
+
form, input, div {
|
42
|
+
|
43
|
+
margin: 0;
|
44
|
+
|
45
|
+
padding: 0;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
body {
|
52
|
+
|
53
|
+
font-family: "Avenir Next", "Hiragino Kaku Gothic ProN W3", sans-serif;
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
.header {
|
62
|
+
|
63
|
+
height: 90px;
|
64
|
+
|
65
|
+
background-color:#26d0c9;}
|
66
|
+
|
67
|
+
li {
|
68
|
+
|
69
|
+
list-style: none;
|
70
|
+
|
71
|
+
float: left;
|
72
|
+
|
73
|
+
padding: 33px 20px;
|
74
|
+
|
75
|
+
color: white;
|
76
|
+
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
/* ここからCSSを記述してください */
|
82
|
+
|
83
|
+
.header-logo {
|
84
|
+
|
85
|
+
float: left;
|
86
|
+
|
87
|
+
font-size: 36px;
|
88
|
+
|
89
|
+
padding: 20px 40px;
|
90
|
+
|
91
|
+
color: white;
|
92
|
+
|
93
|
+
}
|
94
|
+
|
95
|
+
.copy-countainer {
|
96
|
+
|
97
|
+
padding: 100px 80px;
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
.copy-countainer h1 {
|
102
|
+
|
103
|
+
font-size: 140px;
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
.copy-countainer span {
|
108
|
+
|
109
|
+
color:#ff4a4a;
|
110
|
+
|
111
|
+
}
|
112
|
+
|
113
|
+
.copy-countainer h2 {
|
114
|
+
|
115
|
+
font-size:60px;
|
116
|
+
|
117
|
+
}
|
118
|
+
|
119
|
+
.section-title {
|
120
|
+
|
121
|
+
border-bottom: 2px solid #dee7ec;
|
122
|
+
|
123
|
+
font-size:28px;
|
124
|
+
|
125
|
+
padding-bottom:15px;
|
126
|
+
|
127
|
+
margin-bottom:50px;
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
.contents {
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
margin-left:80px;
|
136
|
+
|
137
|
+
height:500px;
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
.contents-item {
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
float:left;
|
146
|
+
|
147
|
+
margin-right:40px ;
|
148
|
+
|
149
|
+
}
|
150
|
+
|
151
|
+
.contents-item p {
|
152
|
+
|
153
|
+
margin-top:30px;
|
154
|
+
|
155
|
+
font-size:24px;
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
}
|
160
|
+
|
161
|
+
.contact-form {
|
162
|
+
|
163
|
+
margin-left:80px;
|
164
|
+
|
165
|
+
margin-right:80px;
|
166
|
+
|
167
|
+
margin-top:100px;
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
.h3 {
|
172
|
+
|
173
|
+
font-size:28px;
|
174
|
+
|
175
|
+
border-bottom:#dee7ec;
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
input {
|
180
|
+
|
181
|
+
border-color:#dee7ec;
|
182
|
+
|
183
|
+
padding:20px;
|
184
|
+
|
185
|
+
width:400px;
|
186
|
+
|
187
|
+
margin-bottom:30px;
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
textarea {
|
192
|
+
|
193
|
+
border-color:#dee7ec;
|
194
|
+
|
195
|
+
padding:20px;
|
196
|
+
|
197
|
+
width:400px;
|
198
|
+
|
199
|
+
margin-bottom:30px;
|
200
|
+
|
201
|
+
}
|
202
|
+
|
203
|
+
p {
|
204
|
+
|
205
|
+
margin-bottom:10px;
|
206
|
+
|
207
|
+
}
|
208
|
+
|
209
|
+
.contact-submit {
|
210
|
+
|
211
|
+
font-size:18px;
|
212
|
+
|
213
|
+
padding:20px;
|
214
|
+
|
215
|
+
background-color:#dee7ec;
|
216
|
+
|
217
|
+
color:#889eab;
|
218
|
+
|
219
|
+
}
|
220
|
+
|
35
221
|
.footer {
|
36
222
|
|
37
223
|
background-color: #2f5167;
|
@@ -58,25 +244,31 @@
|
|
58
244
|
|
59
245
|
|
60
246
|
|
61
|
-
.footer-list {
|
247
|
+
.footer-list {
|
62
|
-
|
248
|
+
|
63
|
-
|
249
|
+
float: right;
|
250
|
+
|
64
|
-
|
251
|
+
display: flex;
|
252
|
+
|
253
|
+
flex-flow: column;
|
254
|
+
|
65
|
-
|
255
|
+
}
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
.footer-list li {
|
260
|
+
|
261
|
+
padding-bottom: 20px;
|
262
|
+
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
66
268
|
|
67
269
|
|
68
270
|
|
69
|
-
|
271
|
+
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
padding-bottom: 20px;
|
74
|
-
|
75
|
-
display: flex;
|
76
|
-
|
77
|
-
flex-flow: column;
|
78
|
-
|
79
|
-
}
|
80
272
|
|
81
273
|
|
82
274
|
|
1
HTMLコードも記載しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,6 +78,140 @@
|
|
78
78
|
|
79
79
|
}
|
80
80
|
|
81
|
+
|
82
|
+
|
83
|
+
HTML
|
84
|
+
|
85
|
+
<!DOCTYPE html>
|
86
|
+
|
87
|
+
<html>
|
88
|
+
|
89
|
+
<head>
|
90
|
+
|
91
|
+
<meta charset="utf-8">
|
92
|
+
|
93
|
+
<title>Progate</title>
|
94
|
+
|
95
|
+
<link rel="stylesheet" href="stylesheet.css">
|
96
|
+
|
97
|
+
</head>
|
98
|
+
|
99
|
+
<body>
|
100
|
+
|
101
|
+
<!-- ここからHTMLを書き始めてください -->
|
102
|
+
|
103
|
+
<div class="header">
|
104
|
+
|
105
|
+
<div class="header-logo">Progate</div>
|
106
|
+
|
107
|
+
<div class="header-list">
|
108
|
+
|
109
|
+
<ul>
|
110
|
+
|
111
|
+
<li>プログラミングとは</li>
|
112
|
+
|
113
|
+
<li>学べるレッスン</li>
|
114
|
+
|
115
|
+
<li>お問い合わせ</li>
|
116
|
+
|
117
|
+
</ul>
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
</div>
|
122
|
+
|
123
|
+
<div class="copy-countainer">
|
124
|
+
|
125
|
+
<h1>HELLO WORLD<span>.</span></h1>
|
126
|
+
|
127
|
+
<h2>プログラミングの世界へようこそ</h2>
|
128
|
+
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="contents">
|
132
|
+
|
133
|
+
<h3 class="section-title">学べるレッスン</h3>
|
134
|
+
|
135
|
+
<div class="contents-item">
|
136
|
+
|
137
|
+
<img src="https://prog-8.com/shared/images/lesson/html/study/html.svg">
|
138
|
+
|
139
|
+
<p>HTML & CSS</p>
|
140
|
+
|
141
|
+
</div>
|
142
|
+
|
143
|
+
<div class="contents-item">
|
144
|
+
|
145
|
+
<img src="https://prog-8.com/shared/images/lesson/html/study/php.svg">
|
146
|
+
|
147
|
+
<p>PHP</p>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div class="contents-item">
|
152
|
+
|
153
|
+
<img src="https://prog-8.com/shared/images/lesson/html/study/ruby.svg">
|
154
|
+
|
155
|
+
<p>Ruby</p>
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div class="contents-item">
|
160
|
+
|
161
|
+
<img src="https://prog-8.com/shared/images/lesson/html/study/swift.svg">
|
162
|
+
|
163
|
+
<p>Swift</p>
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
</div>
|
168
|
+
|
169
|
+
<div class="contact-form">
|
170
|
+
|
171
|
+
<h3 class="section-title">お問い合わせ</h3>
|
172
|
+
|
173
|
+
<p>メールアドレス (必須) </p>
|
174
|
+
|
175
|
+
<input>
|
176
|
+
|
177
|
+
<p>お問い合わせ内容 (必須) </p>
|
178
|
+
|
179
|
+
<textarea></textarea>
|
180
|
+
|
181
|
+
<p>※必須項目は必ずご入力ください</p>
|
182
|
+
|
183
|
+
<input class="contact-submit" type="submit" value="送信">
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
<div class="footer">
|
190
|
+
|
191
|
+
<div class="footer-logo">Progate</div>
|
192
|
+
|
193
|
+
<div class="footer-list">
|
194
|
+
|
195
|
+
<ul>
|
196
|
+
|
197
|
+
<li>会社概要</li>
|
198
|
+
|
199
|
+
<li>採用</li>
|
200
|
+
|
201
|
+
<li>お問い合わせ</li>
|
202
|
+
|
203
|
+
</ul>
|
204
|
+
|
205
|
+
</div>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
</div>
|
210
|
+
|
211
|
+
</body>
|
212
|
+
|
213
|
+
</html>
|
214
|
+
|
81
215
|
```
|
82
216
|
|
83
217
|
|