質問編集履歴

2

コードの追加

2021/11/11 11:47

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -50,6 +50,54 @@
50
50
 
51
51
  });
52
52
 
53
+
54
+
55
+ // スライドショーの挙動
56
+
57
+ const swiperVoice = new Swiper('.swiperVoice', {
58
+
59
+ slidesPerView: 'auto',
60
+
61
+ loop: true,
62
+
63
+ grabCursor: true,
64
+
65
+ spaceBetween: 8,
66
+
67
+
68
+
69
+ // If we need pagination
70
+
71
+ pagination: {
72
+
73
+ el: '.swiper-pagination',
74
+
75
+ },
76
+
77
+
78
+
79
+ // Navigation arrows
80
+
81
+ navigation: {
82
+
83
+ nextEl: '.swiper-button-next',
84
+
85
+ prevEl: '.swiper-button-prev',
86
+
87
+ },
88
+
89
+
90
+
91
+ // And if we need scrollbar
92
+
93
+ scrollbar: {
94
+
95
+ el: '.swiper-scrollbar',
96
+
97
+ },
98
+
99
+ });
100
+
53
101
  コード
54
102
 
55
103
  ```

1

css追加

2021/11/11 11:47

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -238,6 +238,262 @@
238
238
 
239
239
  ```
240
240
 
241
+ .secVoice {
242
+
243
+ background-color: #EFEEEB;
244
+
245
+ }
246
+
247
+
248
+
249
+ .secVoice .commonInner {
250
+
251
+ width: 100%;
252
+
253
+ }
254
+
255
+
256
+
257
+ .secVoice .commonInner .commonTitleBlock {
258
+
259
+ width: 1000px;
260
+
261
+ margin: 0 auto 64px;
262
+
263
+ }
264
+
265
+
266
+
267
+ .secVoice .commonInner .swiperVoice .swiper-wrapper {
268
+
269
+ width: 1000px;
270
+
271
+ margin: 0 auto;
272
+
273
+ }
274
+
275
+
276
+
277
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide {
278
+
279
+ width: 660px;
280
+
281
+ height: 578px;
282
+
283
+ background-color: #fff;
284
+
285
+ }
286
+
287
+
288
+
289
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner {
290
+
291
+ padding: 48px 48px 0px 48px;
292
+
293
+ }
294
+
295
+
296
+
297
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember {
298
+
299
+ display: -webkit-box;
300
+
301
+ display: -ms-flexbox;
302
+
303
+ display: flex;
304
+
305
+ -webkit-box-pack: justify;
306
+
307
+ -ms-flex-pack: justify;
308
+
309
+ justify-content: space-between;
310
+
311
+ }
312
+
313
+
314
+
315
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember img {
316
+
317
+ display: block;
318
+
319
+ width: 248px;
320
+
321
+ height: 248px;
322
+
323
+ -o-object-fit: cover;
324
+
325
+ object-fit: cover;
326
+
327
+ }
328
+
329
+
330
+
331
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div {
332
+
333
+ width: 296px;
334
+
335
+ display: -webkit-box;
336
+
337
+ display: -ms-flexbox;
338
+
339
+ display: flex;
340
+
341
+ -webkit-box-orient: vertical;
342
+
343
+ -webkit-box-direction: normal;
344
+
345
+ -ms-flex-direction: column;
346
+
347
+ flex-direction: column;
348
+
349
+ -webkit-box-pack: justify;
350
+
351
+ -ms-flex-pack: justify;
352
+
353
+ justify-content: space-between;
354
+
355
+ }
356
+
357
+
358
+
359
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div h3 {
360
+
361
+ font-size: 1.8rem;
362
+
363
+ letter-spacing: 0.01em;
364
+
365
+ line-height: 1.7;
366
+
367
+ }
368
+
369
+
370
+
371
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div .MemberJob {
372
+
373
+ font-size: 1.4rem;
374
+
375
+ line-height: 1.7;
376
+
377
+ }
378
+
379
+
380
+
381
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div .MemberHistory {
382
+
383
+ font-size: 1.3rem;
384
+
385
+ line-height: 1.7;
386
+
387
+ letter-spacing: 0.01em;
388
+
389
+ }
390
+
391
+
392
+
393
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .MemberMessage {
394
+
395
+ margin-top: 28px;
396
+
397
+ letter-spacing: 0.01em;
398
+
399
+ }
400
+
401
+
402
+
403
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .MemberMessage .messageMargin {
404
+
405
+ margin-bottom: 28px;
406
+
407
+ }
408
+
409
+ @media screen and (max-width: 640px) {
410
+
411
+ .secVoice .commonInner .commonTitleBlock {
412
+
413
+ width: 80%;
414
+
415
+ margin: 0 auto 64px;
416
+
417
+ }
418
+
419
+ .secVoice .commonInner .swiperVoice .swiper-wrapper {
420
+
421
+ width: 80%;
422
+
423
+ margin: 0 auto;
424
+
425
+ }
426
+
427
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide {
428
+
429
+ width: 100%;
430
+
431
+ height: auto;
432
+
433
+ }
434
+
435
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner {
436
+
437
+ padding: 24px 24px 40px;
438
+
439
+ }
440
+
441
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember {
442
+
443
+ display: -webkit-box;
444
+
445
+ display: -ms-flexbox;
446
+
447
+ display: flex;
448
+
449
+ -webkit-box-orient: vertical;
450
+
451
+ -webkit-box-direction: normal;
452
+
453
+ -ms-flex-direction: column;
454
+
455
+ flex-direction: column;
456
+
457
+ }
458
+
459
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember img {
460
+
461
+ width: 100%;
462
+
463
+ height: auto;
464
+
465
+ margin-right: 0px;
466
+
467
+ margin-bottom: 20px;
468
+
469
+ }
470
+
471
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div {
472
+
473
+ width: 100%;
474
+
475
+ }
476
+
477
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div h3 {
478
+
479
+ font-size: 1.8rem;
480
+
481
+ }
482
+
483
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div .MemberJob {
484
+
485
+ font-size: 1.4rem;
486
+
487
+ margin-bottom: 24px;
488
+
489
+ }
490
+
491
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .VoiceMember div .MemberHistory {
492
+
493
+ font-size: 1.3rem;
494
+
495
+ }
496
+
241
497
  .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .MemberSlideArrow {
242
498
 
243
499
  position: absolute;
@@ -270,6 +526,12 @@
270
526
 
271
527
  }
272
528
 
529
+ .secVoice .commonInner .swiperVoice .swiper-wrapper .swiper-slide .slideInner .MemberMessage .messageMargin {
530
+
531
+ margin-bottom: 24px;
532
+
273
- コード
533
+ }
534
+
535
+ }
274
536
 
275
537
  ```