質問編集履歴
5
コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -176,6 +176,8 @@
|
|
176
176
|
|
177
177
|
```
|
178
178
|
|
179
|
+
|
180
|
+
|
179
181
|
```CSS
|
180
182
|
|
181
183
|
|
@@ -502,6 +504,8 @@
|
|
502
504
|
|
503
505
|
```
|
504
506
|
|
507
|
+
CSS追加とHTML書き換えたところ形は同じになりました。
|
508
|
+
|
505
509
|
```CSS
|
506
510
|
|
507
511
|
|
4
コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -502,6 +502,104 @@
|
|
502
502
|
|
503
503
|
```
|
504
504
|
|
505
|
+
```CSS
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
.law {
|
510
|
+
|
511
|
+
display: flex;
|
512
|
+
|
513
|
+
}
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
.law{
|
518
|
+
|
519
|
+
max-width: 1140px;
|
520
|
+
|
521
|
+
margin: 0 auto}
|
522
|
+
|
523
|
+
```
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
```HTML
|
528
|
+
|
529
|
+
<section class="section-features">
|
530
|
+
|
531
|
+
<div class="row">
|
532
|
+
|
533
|
+
<h2>Get food fast — not fast food.</h2>
|
534
|
+
|
535
|
+
<p class="long-copy">
|
536
|
+
|
537
|
+
Hello, we’re Omnifood, your new premium food delivery service. We know you’re always busy. No time for cooking. So let us take care of that, we’re really good at it, we promise!
|
538
|
+
|
539
|
+
</p>
|
540
|
+
|
541
|
+
</div>
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
<div class="law">
|
546
|
+
|
547
|
+
<div class="col span-1-of-4">
|
548
|
+
|
549
|
+
<h3>Up to 365 days/year</h3>
|
550
|
+
|
551
|
+
<p>
|
552
|
+
|
553
|
+
Never cook again! We really mean that. Our subscription plans include up to 365 days/year coverage. You can also choose to order more flexibly if that's your style.
|
554
|
+
|
555
|
+
</p>
|
556
|
+
|
557
|
+
</div>
|
558
|
+
|
559
|
+
<div class="col span-1-of-4">
|
560
|
+
|
561
|
+
<h3>Ready in 20 minutes</h3>
|
562
|
+
|
563
|
+
<p>
|
564
|
+
|
565
|
+
You're only twenty minutes away from your delicious and super healthy meals delivered right to your home. We work with the best chefs in each town to ensure that you're 100% happy.
|
566
|
+
|
567
|
+
</p>
|
568
|
+
|
569
|
+
</div>
|
570
|
+
|
571
|
+
<div class="col span-1-of-4">
|
572
|
+
|
573
|
+
<h3>100% organic</h3>
|
574
|
+
|
575
|
+
<p>
|
576
|
+
|
577
|
+
All our vegetables are fresh, organic and local. Animals are raised without added hormones or antibiotics. Good for your health, the environment, and it also tastes better!
|
578
|
+
|
579
|
+
</p>
|
580
|
+
|
581
|
+
</div>
|
582
|
+
|
583
|
+
<div class="col span-1-of-4">
|
584
|
+
|
585
|
+
<h3>Order anything</h3>
|
586
|
+
|
587
|
+
<p>
|
588
|
+
|
589
|
+
We don't limit your creativity, which means you can order whatever you feel like. You can also choose from our menu containing over 100 delicious meals. It's up to you!</p>
|
590
|
+
|
591
|
+
</div>
|
592
|
+
|
593
|
+
</div>
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
</section>
|
600
|
+
|
601
|
+
```
|
602
|
+
|
505
603
|
### 試したこと
|
506
604
|
|
507
605
|
|
3
コード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -466,6 +466,42 @@
|
|
466
466
|
|
467
467
|
```
|
468
468
|
|
469
|
+
grid css 全て入りませんでした。
|
470
|
+
|
471
|
+
```
|
472
|
+
|
473
|
+
.span-4-of-4 {
|
474
|
+
|
475
|
+
width: 100%;
|
476
|
+
|
477
|
+
}
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
.span-3-of-4 {
|
482
|
+
|
483
|
+
width: 74.6%;
|
484
|
+
|
485
|
+
}
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
.span-2-of-4 {
|
490
|
+
|
491
|
+
width: 49.2%;
|
492
|
+
|
493
|
+
}
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
.span-1-of-4 {
|
498
|
+
|
499
|
+
width: 23.8%;
|
500
|
+
|
501
|
+
}
|
502
|
+
|
503
|
+
```
|
504
|
+
|
469
505
|
### 試したこと
|
470
506
|
|
471
507
|
|
2
コードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,10 +18,90 @@
|
|
18
18
|
|
19
19
|
```HTML
|
20
20
|
|
21
|
-
|
21
|
+
<html lang"en">
|
22
|
+
|
23
|
+
<head>
|
24
|
+
|
25
|
+
<link ref="stylesheet" type="text/css" href="vendors/css/normalize.css">
|
26
|
+
|
27
|
+
<link ref="stylesheet" type="text/css" href="vendors/css/grid.css">
|
28
|
+
|
29
|
+
<link rel="stylesheet" type=" text/css" href="resources/css/style.css">
|
30
|
+
|
31
|
+
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;1,300&display=swap" rel="stylesheet">
|
32
|
+
|
33
|
+
<title>Omnifood</title>
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
</head>
|
38
|
+
|
39
|
+
<body>
|
40
|
+
|
41
|
+
<header>
|
42
|
+
|
43
|
+
<nav>
|
44
|
+
|
45
|
+
<div class="row">
|
46
|
+
|
47
|
+
<img src="resources/img/logo-white.png" alt="Omnifood logo" class="logo">
|
48
|
+
|
49
|
+
<ul class="main-nav">
|
50
|
+
|
51
|
+
<li><a href="#">Food delivery</a></li>
|
52
|
+
|
53
|
+
<li><a href="#">How it works</a></li>
|
54
|
+
|
55
|
+
<li><a href="#">Our cities</a></li>
|
56
|
+
|
57
|
+
<li><a href="#">Sign up</a></li>
|
58
|
+
|
59
|
+
</ul>
|
60
|
+
|
61
|
+
</div>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
</nav>
|
66
|
+
|
67
|
+
<div class="hero-text-box">
|
68
|
+
|
69
|
+
<h1>Goodbye junk food.<br> Hello super healthy meals.</h1>
|
70
|
+
|
71
|
+
<a class="btn btn-full" href="#">I'm hungry</a>
|
72
|
+
|
73
|
+
<a class="btn btn-ghost"href="#">Show me more</a>
|
74
|
+
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</header>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<section class="section-features">
|
22
88
|
|
23
89
|
<div class="row">
|
24
90
|
|
91
|
+
<h2>Get food fast — not fast food.</h2>
|
92
|
+
|
93
|
+
<p class="long-copy">
|
94
|
+
|
95
|
+
Hello, we’re Omnifood, your new premium food delivery service. We know you’re always busy. No time for cooking. So let us take care of that, we’re really good at it, we promise!
|
96
|
+
|
97
|
+
</p>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<div class="row">
|
104
|
+
|
25
105
|
<div class="col span-1-of-4">
|
26
106
|
|
27
107
|
<h3>Up to 365 days/year</h3>
|
@@ -72,24 +152,320 @@
|
|
72
152
|
|
73
153
|
|
74
154
|
|
155
|
+
|
156
|
+
|
157
|
+
</section>
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</body>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
</html>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<
|
176
|
+
|
75
177
|
```
|
76
178
|
|
77
179
|
```CSS
|
78
180
|
|
181
|
+
|
182
|
+
|
183
|
+
*{
|
184
|
+
|
185
|
+
margin: 0;
|
186
|
+
|
187
|
+
padding: 0;
|
188
|
+
|
189
|
+
box-sizing: border-box;
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
html{
|
196
|
+
|
197
|
+
background-color: #fff;
|
198
|
+
|
199
|
+
color: #555;
|
200
|
+
|
201
|
+
font-family :"Lato",'Arial',sans-serif;
|
202
|
+
|
203
|
+
font-weight: 300;
|
204
|
+
|
205
|
+
font-size: 20px;
|
206
|
+
|
207
|
+
text-rendering: optimizeLegibility;
|
208
|
+
|
209
|
+
}
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
/* ------------------------------------*/
|
216
|
+
|
217
|
+
/* REUSABLE COMPONENTS*/
|
218
|
+
|
219
|
+
/* ------------------------------------*/
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
79
229
|
.row{
|
80
230
|
|
81
231
|
max-width: 1140px;
|
82
232
|
|
83
233
|
margin: 0 auto
|
84
234
|
|
235
|
+
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
/* --------HEADINGS--------*/
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
h1{
|
248
|
+
|
249
|
+
margin-top:0;
|
250
|
+
|
251
|
+
margin-bottom: 20px;
|
252
|
+
|
253
|
+
color: #fff;
|
254
|
+
|
255
|
+
font-size: 240%;
|
256
|
+
|
257
|
+
font-weight: 300;
|
258
|
+
|
259
|
+
text-transform: uppercase;
|
260
|
+
|
261
|
+
letter-spacing: 1px;
|
262
|
+
|
263
|
+
word-spacing: 4px
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
}
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
/* --------BUTTONS--------*/
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
.btn:link,
|
278
|
+
|
279
|
+
.btn:visited{
|
280
|
+
|
281
|
+
padding: 10px 30px;
|
282
|
+
|
283
|
+
display: inline-block;
|
284
|
+
|
285
|
+
font-weight: 300;
|
286
|
+
|
287
|
+
text-decoration: :none;
|
288
|
+
|
289
|
+
border-radius:200px;
|
290
|
+
|
291
|
+
transition:background-color 0.2s, border 0.2s, color 0.2s;
|
292
|
+
|
293
|
+
}
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
.btn-full:link,
|
298
|
+
|
299
|
+
.btn-full:visited{
|
300
|
+
|
301
|
+
background-color: #e67e22;
|
302
|
+
|
303
|
+
border: 1px solid #e67e22;
|
304
|
+
|
305
|
+
color:#fff;
|
306
|
+
|
307
|
+
margin-right: 15px;
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
}
|
312
|
+
|
313
|
+
.btn-ghost:link,
|
314
|
+
|
315
|
+
.btn-ghost:visited{
|
316
|
+
|
317
|
+
border: 1px solid #e67e22;
|
318
|
+
|
319
|
+
color:#e67e22;
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
}
|
324
|
+
|
325
|
+
.btn:hover,
|
326
|
+
|
327
|
+
.btn:active{
|
328
|
+
|
329
|
+
background-color: #cf6d17;
|
330
|
+
|
331
|
+
}
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
.btn-full:hover,
|
336
|
+
|
337
|
+
.btn-full:active{
|
338
|
+
|
339
|
+
border: 1px solid #cf6d17;
|
340
|
+
|
341
|
+
}
|
342
|
+
|
343
|
+
.btn-ghost:hover,
|
344
|
+
|
345
|
+
.btn-ghost:active{
|
346
|
+
|
347
|
+
border: 1px solid #cf6d17;
|
348
|
+
|
349
|
+
color:#fff;}
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
/* ------------------------------------*/
|
358
|
+
|
359
|
+
/* HEADE*/
|
360
|
+
|
361
|
+
/* ------------------------------------*/
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
header{
|
370
|
+
|
371
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.7)),url(img/hero.jpg);
|
372
|
+
|
373
|
+
background-size: cover;
|
374
|
+
|
375
|
+
background-position: center;
|
376
|
+
|
377
|
+
height: 100vh
|
378
|
+
|
379
|
+
}
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
.hero-text-box{
|
384
|
+
|
385
|
+
position:absolute;
|
386
|
+
|
387
|
+
width: 1140px;
|
388
|
+
|
389
|
+
top: 50%;
|
390
|
+
|
391
|
+
left: 50%;
|
392
|
+
|
393
|
+
transform: translate(-50%,-50%);
|
394
|
+
|
395
|
+
}
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
.logo{
|
400
|
+
|
401
|
+
height: 100px;
|
402
|
+
|
403
|
+
width: auto;
|
404
|
+
|
405
|
+
float: left;
|
406
|
+
|
407
|
+
margin-top: 20px;
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
}
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
.main-nav{
|
416
|
+
|
417
|
+
float: right;
|
418
|
+
|
419
|
+
list-style: none;
|
420
|
+
|
421
|
+
}
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
.main-nav li{
|
426
|
+
|
427
|
+
display: inline-block;
|
428
|
+
|
429
|
+
margin-left: 40px;
|
430
|
+
|
431
|
+
margin-top: 55px;
|
432
|
+
|
433
|
+
}
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
.main-nav li a:link,
|
438
|
+
|
439
|
+
.main-nav li a:visited{
|
440
|
+
|
441
|
+
padding:8px 0;
|
442
|
+
|
443
|
+
color: #fff;
|
444
|
+
|
445
|
+
text-decoration:none;
|
446
|
+
|
447
|
+
text-transform: uppercase;
|
448
|
+
|
449
|
+
font-size; 90%;
|
450
|
+
|
451
|
+
border-bottom: 2px solid transparent;
|
452
|
+
|
453
|
+
transition: 0.2s;
|
454
|
+
|
455
|
+
}
|
456
|
+
|
457
|
+
.main-nav li a:hover,
|
458
|
+
|
459
|
+
.main-nav li a:active {
|
460
|
+
|
461
|
+
border-bottom: 2px solid #e67e22;
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
}
|
466
|
+
|
85
467
|
```
|
86
468
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
469
|
### 試したこと
|
94
470
|
|
95
471
|
|
1
コードの記載、および画像挿入
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,35 +16,77 @@
|
|
16
16
|
|
17
17
|
### 該当のソースコード
|
18
18
|
|
19
|
-
HTML
|
19
|
+
```HTML
|
20
20
|
|
21
|
+
|
22
|
+
|
21
|
-
<div class="row">
|
23
|
+
<div class="row">
|
22
24
|
|
23
25
|
<div class="col span-1-of-4">
|
24
26
|
|
25
|
-
<h
|
27
|
+
<h3>Up to 365 days/year</h3>
|
28
|
+
|
29
|
+
<p>
|
30
|
+
|
31
|
+
Never cook again! We really mean that. Our subscription plans include up to 365 days/year coverage. You can also choose to order more flexibly if that's your style.
|
32
|
+
|
33
|
+
</p>
|
26
34
|
|
27
35
|
</div>
|
28
36
|
|
29
37
|
<div class="col span-1-of-4">
|
30
38
|
|
31
|
-
<h
|
39
|
+
<h3>Ready in 20 minutes</h3>
|
40
|
+
|
41
|
+
<p>
|
42
|
+
|
43
|
+
You're only twenty minutes away from your delicious and super healthy meals delivered right to your home. We work with the best chefs in each town to ensure that you're 100% happy.
|
44
|
+
|
45
|
+
</p>
|
32
46
|
|
33
47
|
</div>
|
34
48
|
|
35
49
|
<div class="col span-1-of-4">
|
36
50
|
|
37
|
-
<h1
|
51
|
+
<h3>100% organic</h3>
|
52
|
+
|
53
|
+
<p>
|
54
|
+
|
55
|
+
All our vegetables are fresh, organic and local. Animals are raised without added hormones or antibiotics. Good for your health, the environment, and it also tastes better!
|
56
|
+
|
57
|
+
</p>
|
38
58
|
|
39
59
|
</div>
|
40
60
|
|
41
61
|
<div class="col span-1-of-4">
|
42
62
|
|
43
|
-
<h
|
63
|
+
<h3>Order anything</h3>
|
64
|
+
|
65
|
+
<p>
|
66
|
+
|
67
|
+
We don't limit your creativity, which means you can order whatever you feel like. You can also choose from our menu containing over 100 delicious meals. It's up to you!</p>
|
44
68
|
|
45
69
|
</div>
|
46
70
|
|
47
71
|
</div>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
```CSS
|
78
|
+
|
79
|
+
.row{
|
80
|
+
|
81
|
+
max-width: 1140px;
|
82
|
+
|
83
|
+
margin: 0 auto
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
48
90
|
|
49
91
|
|
50
92
|
|
@@ -65,3 +107,11 @@
|
|
65
107
|
|
66
108
|
|
67
109
|
動画URL
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
![イメージ説明](f85d5658f42b56afffa4b5b364c494c8.png) 動画
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
![イメージ説明](479c734f2d6948ac5532cdca14db905a.png) 私(Get... の部分が2行になってしまいます)
|