質問編集履歴

1

全文を修正しました。

2020/12/25 08:18

投稿

Naotohello
Naotohello

スコア1

test CHANGED
File without changes
test CHANGED
@@ -30,7 +30,101 @@
30
30
 
31
31
  HTML
32
32
 
33
- <div class="service">
33
+ ```ここに言語を入力html
34
+
35
+ コード<!DOCTYPE html>
36
+
37
+ <html lang="ja">
38
+
39
+ <head>
40
+
41
+ <meta charset="UTF-8">
42
+
43
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
44
+
45
+ <link rel="reconnect" href="https://fonts.gstatic.com">
46
+
47
+ <link rel="stylesheet" href="css/reset.css">
48
+
49
+ <link rel="stylesheet" href="css/style.css">
50
+
51
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap" rel="stylesheet">
52
+
53
+
54
+
55
+ <title>NaotoPortfolio</title>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ </head>
64
+
65
+ <body>
66
+
67
+ <header class="header">
68
+
69
+ <ul class="header__nav">
70
+
71
+ <li class="header__nav--item">Concept</li>
72
+
73
+ <li class="header__nav--item">Service</li>
74
+
75
+ <li class="header__nav--item">Work </li>
76
+
77
+ <li class="header__nav--item">About</li>
78
+
79
+ <li class="header__nav--item">Contact</li>
80
+
81
+ </ul>
82
+
83
+ </div>
84
+
85
+ <div class="header__main">
86
+
87
+ <h1>Portfolio</h1>
88
+
89
+ <h2>Web engineer</h2>
90
+
91
+ </div>
92
+
93
+ </div>
94
+
95
+ </header>
96
+
97
+ <div class="consept">
98
+
99
+ <h4 class="consept__title">PRINCIPLE</h4>
100
+
101
+ <h4 class="consept__sub-title">方針・コンセプト</h4>
102
+
103
+ </div>
104
+
105
+ <div class="consept__article">
106
+
107
+ <h5>HTML&CSS・WordPress・JavaScriptなどを使用してWebサイトの設計からコーディングまで対応しているWebエンジニアです。
108
+
109
+ レスポンシブ対応(スマートフォン)も対応しております。お客様がお持ちの大切な思いを閲覧者様にわかりやすく伝えることお客様の意図を理解しようと努力し、閲覧者様に納得していただけるものを作ることをコンセプトとしており、出会った全てのお客様に幸せになってもらうことを第一にしています。私はいままで、たくさんの人に助けてもらいながら生きてきました。なんの見返りもないのに助けてくれた人も居ました。だからこそ、「人の役に立ちたい」「お客様、利用者様両方を幸せになって頂きたい」<br>
110
+
111
+ <pre> この幸せの連鎖をつなぐため、私はこの仕事をしています。</pre>
112
+
113
+ </h5>
114
+
115
+ <div class="consept__guide">
116
+
117
+ <h6>Webに関するご相談であれば、お気軽にご連絡ください。</h6>
118
+
119
+ </div>
120
+
121
+ <div class="btn">
122
+
123
+ <a href="#" class="btn-animation-02"><span>お問い合わせ<span></a>
124
+
125
+ </div>
126
+
127
+ <div class="service">
34
128
 
35
129
  <div class="service__main">
36
130
 
@@ -44,7 +138,7 @@
44
138
 
45
139
  <div class="service__logo"></div>
46
140
 
47
- <div class="service__article"></div>
141
+ <div class="service__articel"></div>
48
142
 
49
143
  </div>
50
144
 
@@ -54,14 +148,436 @@
54
148
 
55
149
  </div>
56
150
 
57
-
151
+ </body>
152
+
58
-
153
+ </html>
154
+
155
+
156
+
59
- CSS
157
+ ```
158
+
159
+
160
+
161
+ ```ここに言語を入力scss
162
+
163
+ コード* {
164
+
165
+ margin: 0;
166
+
167
+ padding: 0;
168
+
169
+ }
170
+
171
+
172
+
173
+ //img
174
+
175
+ img {
176
+
177
+ max-width: 100%;
178
+
179
+ height: auto;
180
+
181
+ }
182
+
183
+
184
+
185
+ //title
186
+
187
+ section {
188
+
189
+ &__title {
190
+
191
+ display: inline-block;
192
+
193
+ text-align: center;
194
+
195
+ font-size: 50px;
196
+
197
+ font-weight: bold;
198
+
199
+ margin-top: 95px;
200
+
201
+ margin-left: auto;
202
+
203
+ margin-right: auto;
204
+
205
+ font-family: "游ゴシック体", sans-serif;
206
+
207
+
208
+
209
+ @media screen and(min-width:375px) {
210
+
211
+ margin-top: 48px;
212
+
213
+ font-size: 18px;
214
+
215
+ }
216
+
217
+ }
218
+
219
+
220
+
221
+ &__sub--title {
222
+
223
+ display: block;
224
+
225
+ text-align: center;
226
+
227
+ font-size: 27px;
228
+
229
+ margin-right: auto;
230
+
231
+ margin-left: auto;
232
+
233
+ margin-top: 155px;
234
+
235
+ font-family: "游ゴシック体", sans-serif;
236
+
237
+
238
+
239
+ @media screen and(min-width:375px) {
240
+
241
+ margin: 79px;
242
+
243
+ font-size: 12px;
244
+
245
+ }
246
+
247
+ }
248
+
249
+ }
250
+
251
+
252
+
253
+ //コーディング
254
+
255
+
256
+
257
+ .header {
258
+
259
+ background: url(../img/moss-5803607_1920.jpg);
260
+
261
+ background-size: cover;
262
+
263
+ height: 890px;
264
+
265
+
266
+
267
+ &__nav {
268
+
269
+ display: flex;
270
+
271
+ justify-content: flex-end;
272
+
273
+ padding-right: 98px;
274
+
275
+
276
+
277
+ &--item {
278
+
279
+ padding-top: 50px;
280
+
281
+ color: #FFFFFF;
282
+
283
+ font-size: 16px;
284
+
285
+ margin-right: 30px;
286
+
287
+ font-weight: bold;
288
+
289
+ font-family: "源ノ角ゴシック JP", sans-serif;
290
+
291
+
292
+
293
+ }
294
+
295
+ }
296
+
297
+
298
+
299
+ &__main {
300
+
301
+ h1 {
302
+
303
+ font-size: 139px;
304
+
305
+ font-family: "Bradley Hand", sans-serif;
306
+
307
+ color: #FFFFFF;
308
+
309
+ text-align: center;
310
+
311
+ margin-top: 180px;
312
+
313
+ }
314
+
315
+
316
+
317
+ h2 {
318
+
319
+ font-size: 44px;
320
+
321
+ font-family: "Bradley Hand",
322
+
323
+ sans-serif;
324
+
325
+ color: #FFFFFF;
326
+
327
+ text-align: center;
328
+
329
+ padding-top: 30px;
330
+
331
+ }
332
+
333
+ }
334
+
335
+ }
336
+
337
+
338
+
339
+ .consept {
340
+
341
+ text-align: center;
342
+
343
+ margin: 0auto;
344
+
345
+
346
+
347
+ &__title {
348
+
349
+ display: inline-block;
350
+
351
+ text-align: center;
352
+
353
+ font-size: 50px;
354
+
355
+ font-weight: bold;
356
+
357
+ margin-top: 76px;
358
+
359
+ color: #292424;
360
+
361
+ font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", sans-serif;
362
+
363
+ }
364
+
365
+
366
+
367
+ &__sub-title {
368
+
369
+ display: block;
370
+
371
+ text-align: center;
372
+
373
+ font-size: 25px;
374
+
375
+ margin-top: 10px;
376
+
377
+ font-weight: bold;
378
+
379
+ color: #292424;
380
+
381
+ font-family: "游ゴシック Medium",
382
+
383
+ "Yu Gothic Medium",
384
+
385
+ "游ゴシック体",
386
+
387
+ "YuGothic",
388
+
389
+ sans-serif;
390
+
391
+ }
392
+
393
+
394
+
395
+ &__article {
396
+
397
+ font-size: 24px;
398
+
399
+ line-height: 60px;
400
+
401
+ text-align: left;
402
+
403
+ margin-left: auto;
404
+
405
+ margin-right: auto;
406
+
407
+ color: #292424;
408
+
409
+ width: 1180px;
410
+
411
+ padding-top: 40px;
412
+
413
+ font-family: "游ゴシック Medium",
414
+
415
+ "Yu Gothic Medium",
416
+
417
+ "游ゴシック体",
418
+
419
+ "YuGothic",
420
+
421
+ sans-serif;
422
+
423
+ }
424
+
425
+
426
+
427
+ &__guide {
428
+
429
+ font-family: "游ゴシック Medium",
430
+
431
+ "Yu Gothic Medium",
432
+
433
+ "游ゴシック体",
434
+
435
+ "YuGothic",
436
+
437
+ sans-serif;
438
+
439
+ font-weight: bold;
440
+
441
+ font-size: 35px;
442
+
443
+ text-align: left;
444
+
445
+ color: #292424;
446
+
447
+ text-align: center;
448
+
449
+ margin-right: auto;
450
+
451
+
452
+
453
+ margin-top: 100px;
454
+
455
+ margin-bottom: 86px;
456
+
457
+ }
458
+
459
+ }
460
+
461
+
462
+
463
+ .btn {
464
+
465
+ text-align: center;
466
+
467
+
468
+
469
+ .btn-animation-02 {
470
+
471
+ display: inline-block;
472
+
473
+ width: 227px;
474
+
475
+ text-align: center;
476
+
477
+ background-color: #fff;
478
+
479
+ border: 2px solid #87D3C7;
480
+
481
+ font-size: 21px;
482
+
483
+ color: #fff;
484
+
485
+ text-decoration: none;
486
+
487
+ padding: 10px 24px;
488
+
489
+ border-radius: 4px;
490
+
491
+ position: relative;
492
+
493
+ line-height: 50px;
494
+
495
+ font-family: "Hiragino Maru Gothic ProN";
496
+
497
+
498
+
499
+ }
500
+
501
+
502
+
503
+ .btn-animation-02 span {
504
+
505
+ position: relative;
506
+
507
+ z-index: 1;
508
+
509
+ }
510
+
511
+
512
+
513
+ .btn-animation-02::before,
514
+
515
+ .btn-animation-02::after {
516
+
517
+ content: "";
518
+
519
+ display: block;
520
+
521
+ background-color: #87D3C7;
522
+
523
+ width: 50%;
524
+
525
+ height: 100%;
526
+
527
+ position: absolute;
528
+
529
+ top: 0;
530
+
531
+ transition: .2s;
532
+
533
+ }
534
+
535
+
536
+
537
+ .btn-animation-02::before {
538
+
539
+ left: 0;
540
+
541
+ }
542
+
543
+
544
+
545
+ .btn-animation-02::after {
546
+
547
+ right: 0;
548
+
549
+ }
550
+
551
+
552
+
553
+ .btn-animation-02:hover:before,
554
+
555
+ .btn-animation-02:hover:after {
556
+
557
+ width: 0;
558
+
559
+ background-color: #87D3C7;
560
+
561
+ }
562
+
563
+
564
+
565
+ .btn-animation-02:hover {
566
+
567
+ color: #87D3C7;
568
+
569
+ }
570
+
571
+ }
60
572
 
61
573
 
62
574
 
63
575
  .service {
64
576
 
577
+ background: #87D3C7;
578
+
579
+
580
+
65
581
  &__main {
66
582
 
67
583
  background-color: #87D3C7;
@@ -72,7 +588,11 @@
72
588
 
73
589
  }
74
590
 
75
-
591
+ }
592
+
593
+
594
+
595
+ ```
76
596
 
77
597
  ### 試したこと
78
598