質問編集履歴

1

HTMLのコードをコードブロックに入れました

2018/11/22 08:27

投稿

zerokara
zerokara

スコア15

test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  ### 自分で書いたコード HTML
20
20
 
21
- <!DOCTYPE html>
21
+ ```<!DOCTYPE html>
22
22
 
23
23
  <html>
24
24
 
@@ -142,162 +142,160 @@
142
142
 
143
143
 
144
144
 
145
+
146
+
147
+
148
+
149
+ ### 自分で書いたコード CSS
150
+
151
+
152
+
153
+ ```ここに言語名を入力
154
+
155
+ html, body,
156
+
157
+ ul, ol, li,
158
+
159
+ h1, h2, h3, h4, h5, h6, p,
160
+
161
+ form, input, div {
162
+
163
+ margin: 0;
164
+
165
+ padding: 0;
166
+
167
+ }
168
+
169
+
170
+
171
+ li {
172
+
173
+ list-style: none;
174
+
175
+ }
176
+
177
+
178
+
179
+ /* ここからCSSを記述してください */
180
+
181
+ body{
182
+
183
+ font-family: "Avenir Next", "Hiragino Kaku Gothic ProN W3", sans-serif;
184
+
185
+ }
186
+
145
- エラーメッセージ
187
+ .header{
188
+
189
+ height:90px;
190
+
191
+ background-color:#26d0c9;
192
+
193
+ color:#fff;
194
+
195
+ }
196
+
197
+ .header-logo{
198
+
199
+ padding:20px 40px;
200
+
201
+ font-size:32px;
202
+
203
+ float:left;
204
+
205
+ }
206
+
207
+ .header-list li{
208
+
209
+ float:left;
210
+
211
+ padding:33px 24px;
212
+
213
+ }
214
+
215
+ .main{
216
+
217
+ padding:100px 80px 0 80px;
218
+
219
+ }
220
+
221
+ .main-title h1{
222
+
223
+ font-size:140px;
224
+
225
+ }
226
+
227
+ .main-title h2{
228
+
229
+ font-size:60px;
230
+
231
+ }
232
+
233
+ span{
234
+
235
+ color:red;
236
+
237
+ }
238
+
239
+ .contents{
240
+
241
+ height:500px;
242
+
243
+ }
244
+
245
+ .contents-title{
246
+
247
+ font-size:28px;
248
+
249
+ margin-top:100px;
250
+
251
+ border-bottom:2px #dee7ec solid;
252
+
253
+ padding-bottom:15px;
254
+
255
+ }
256
+
257
+ .contents-img{
258
+
259
+ float:left;
260
+
261
+ padding:50px 40px 0 0;
262
+
263
+ margin-bottom:100px;
264
+
265
+ }
266
+
267
+ .contents-img p{
268
+
269
+ font-size:24px;
270
+
271
+ margin-top:30px;
272
+
273
+ }
274
+
275
+ .form{
276
+
277
+ }
278
+
279
+ .form-title h3{
280
+
281
+ }
146
282
 
147
283
  ```
148
284
 
149
285
 
150
286
 
151
- ### 自分で書いコード CSS
287
+ ### 試しこと
152
-
153
-
154
-
155
- ```ここに言語名を入力
288
+
156
-
157
- html, body,
158
-
159
- ul, ol, li,
160
-
161
- h1, h2, h3, h4, h5, h6, p,
289
+ <div class="contents">の閉じタグのチェック
162
-
290
+
291
+
292
+
163
- form, input, div {
293
+ .form-title h3{
164
-
165
- margin: 0;
166
-
167
- padding: 0;
168
-
169
- }
170
-
171
-
172
-
173
- li {
174
-
175
- list-style: none;
176
-
177
- }
178
-
179
-
180
-
181
- /* ここからCSSを記述してください */
182
-
183
- body{
184
-
185
- font-family: "Avenir Next", "Hiragino Kaku Gothic ProN W3", sans-serif;
186
-
187
- }
188
-
189
- .header{
190
-
191
- height:90px;
192
-
193
- background-color:#26d0c9;
194
-
195
- color:#fff;
196
-
197
- }
198
-
199
- .header-logo{
200
-
201
- padding:20px 40px;
202
-
203
- font-size:32px;
204
294
 
205
295
  float:left;
206
296
 
207
297
  }
208
298
 
209
- .header-list li{
210
-
211
- float:left;
212
-
213
- padding:33px 24px;
214
-
215
- }
216
-
217
- .main{
218
-
219
- padding:100px 80px 0 80px;
220
-
221
- }
222
-
223
- .main-title h1{
224
-
225
- font-size:140px;
226
-
227
- }
228
-
229
- .main-title h2{
230
-
231
- font-size:60px;
232
-
233
- }
234
-
235
- span{
236
-
237
- color:red;
238
-
239
- }
240
-
241
- .contents{
242
-
243
- height:500px;
244
-
245
- }
246
-
247
- .contents-title{
248
-
249
- font-size:28px;
250
-
251
- margin-top:100px;
252
-
253
- border-bottom:2px #dee7ec solid;
254
-
255
- padding-bottom:15px;
256
-
257
- }
258
-
259
- .contents-img{
260
-
261
- float:left;
262
-
263
- padding:50px 40px 0 0;
264
-
265
- margin-bottom:100px;
266
-
267
- }
268
-
269
- .contents-img p{
270
-
271
- font-size:24px;
272
-
273
- margin-top:30px;
274
-
275
- }
276
-
277
- .form{
278
-
279
- }
280
-
281
- .form-title h3{
282
-
283
- }
284
-
285
- ```
286
-
287
-
288
-
289
- ### 試したこと
290
-
291
- <div class="contents">の閉じタグのチェック
292
-
293
-
294
-
295
- .form-title h3{
296
-
297
- float:left;
298
-
299
- }
300
-
301
299
 
302
300
 
303
301
  <div class="form">