質問編集履歴
2
再度入力しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -201,3 +201,255 @@
|
|
201
201
|
})
|
202
202
|
|
203
203
|
</script>
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
```<div class="container-slider flex">
|
208
|
+
|
209
|
+
<!-- Swiper -->
|
210
|
+
|
211
|
+
<div class="swiper-container">
|
212
|
+
|
213
|
+
<div class="swiper-wrapper">
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
<div class="swiper-slide"><a><img class="container-img-slider" src="https://oppai1.com/wp-content/uploads/2021/03/StampDecor_153903.gif" alt="" /></a></div>
|
218
|
+
|
219
|
+
<div><p>テキスト</p></div>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
<div class="swiper-slide">Slide 2</div>
|
224
|
+
|
225
|
+
<div class="swiper-slide">Slide 3</div>
|
226
|
+
|
227
|
+
<div class="swiper-slide">Slide 4</div>
|
228
|
+
|
229
|
+
<div class="swiper-slide">Slide 5</div>
|
230
|
+
|
231
|
+
<div class="swiper-slide">Slide 6</div>
|
232
|
+
|
233
|
+
</div>
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
<!-- Add Pagination -->
|
238
|
+
|
239
|
+
<div class="swiper-pagination"></div>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
<div class="swiper-container ">
|
244
|
+
|
245
|
+
<div class="swiper-wrapper">
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
<div class="swiper-slide"><a><img class="container-img-slider"
|
250
|
+
|
251
|
+
src="https://oppai1.com/wp-content/uploads/2021/03/StampDecor_153903.gif" alt="" /></a></div>
|
252
|
+
|
253
|
+
<div class="swiper-slide"><a><img class="container-img-slider" src="" alt="" /></a></div>
|
254
|
+
|
255
|
+
<div class="swiper-slide"></a></div>
|
256
|
+
|
257
|
+
<div class="swiper-slide">Slide 4</div>
|
258
|
+
|
259
|
+
<div class="swiper-slide">Slide 5</div>
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
<!-- Add Pagination -->
|
264
|
+
|
265
|
+
<div class="swiper-pagination"></div>
|
266
|
+
|
267
|
+
</div>
|
268
|
+
|
269
|
+
<div class="swiper-container pc_only">
|
270
|
+
|
271
|
+
<div class="swiper-wrapper">
|
272
|
+
|
273
|
+
<div class="swiper-slide"><a><img class="container-img-slider" src="img02.jpg" alt="" /></a></div>
|
274
|
+
|
275
|
+
<div class="swiper-slide"><a><img class="container-img-slider" src="img01.jpg" alt="" /></a></div>
|
276
|
+
|
277
|
+
<div class="swiper-slide">Slide 3</div>
|
278
|
+
|
279
|
+
<div class="swiper-slide">Slide 4</div>
|
280
|
+
|
281
|
+
<div class="swiper-slide">Slide 5</div>
|
282
|
+
|
283
|
+
</div>
|
284
|
+
|
285
|
+
<!-- Add Pagination -->
|
286
|
+
|
287
|
+
<div class="swiper-pagination"></div>
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
<div class="swiper-container pc_only">
|
292
|
+
|
293
|
+
<div class="swiper-wrapper">
|
294
|
+
|
295
|
+
<div class="swiper-slide"><a><img class="container-img-slider" src="img02.jpg" alt="" /></a></div>
|
296
|
+
|
297
|
+
<div class="swiper-slide"><a><img class="container-img-slider" src="img01.jpg" alt="" /></a></div>
|
298
|
+
|
299
|
+
<div class="swiper-slide">Slide 3</div>
|
300
|
+
|
301
|
+
<div class="swiper-slide">Slide 4</div>
|
302
|
+
|
303
|
+
<div class="swiper-slide">Slide 5</div>
|
304
|
+
|
305
|
+
</div>
|
306
|
+
|
307
|
+
<!-- Add Pagination -->
|
308
|
+
|
309
|
+
<div class="swiper-pagination"></div>
|
310
|
+
|
311
|
+
</div>
|
312
|
+
|
313
|
+
</div>
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
<style>
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
.container.flex {
|
322
|
+
|
323
|
+
width: 100%;
|
324
|
+
|
325
|
+
}
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
.swiper-container {
|
330
|
+
|
331
|
+
width: 50%;
|
332
|
+
|
333
|
+
height: fit-content;
|
334
|
+
|
335
|
+
margin: 5px !important;
|
336
|
+
|
337
|
+
}
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
.swiper-slide {
|
342
|
+
|
343
|
+
text-align: center;
|
344
|
+
|
345
|
+
font-size: 18px;
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
/* Center slide text vertically */
|
350
|
+
|
351
|
+
display: -webkit-box;
|
352
|
+
|
353
|
+
display: -ms-flexbox;
|
354
|
+
|
355
|
+
display: -webkit-flex;
|
356
|
+
|
357
|
+
display: flex;
|
358
|
+
|
359
|
+
-webkit-box-pack: center;
|
360
|
+
|
361
|
+
-ms-flex-pack: center;
|
362
|
+
|
363
|
+
-webkit-justify-content: center;
|
364
|
+
|
365
|
+
justify-content: center;
|
366
|
+
|
367
|
+
-webkit-box-align: center;
|
368
|
+
|
369
|
+
-ms-flex-align: center;
|
370
|
+
|
371
|
+
-webkit-align-items: center;
|
372
|
+
|
373
|
+
align-items: center;
|
374
|
+
|
375
|
+
}
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
.container-slider {
|
380
|
+
|
381
|
+
width: 100%;
|
382
|
+
|
383
|
+
height: 600px;
|
384
|
+
|
385
|
+
}
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
.flex {
|
390
|
+
|
391
|
+
display: -webkit-flex;
|
392
|
+
|
393
|
+
display: -moz-flex;
|
394
|
+
|
395
|
+
display: -ms-flex;
|
396
|
+
|
397
|
+
display: -o-flex;
|
398
|
+
|
399
|
+
display: flex;
|
400
|
+
|
401
|
+
}
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
@media screen and (max-width: 768px) {
|
406
|
+
|
407
|
+
.pc_only {
|
408
|
+
|
409
|
+
display: none !important;
|
410
|
+
|
411
|
+
}
|
412
|
+
|
413
|
+
}
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
.container-img-slider {
|
418
|
+
|
419
|
+
width: 100%;
|
420
|
+
|
421
|
+
height: auto;
|
422
|
+
|
423
|
+
opacity: 1;
|
424
|
+
|
425
|
+
transition: transform 0.3s ease;
|
426
|
+
|
427
|
+
}
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
.zoom{
|
432
|
+
|
433
|
+
transform: scale(1.2);
|
434
|
+
|
435
|
+
}
|
436
|
+
|
437
|
+
</style>
|
438
|
+
|
439
|
+
<script type="text/javascript">
|
440
|
+
|
441
|
+
$(function(){
|
442
|
+
|
443
|
+
$(".container-img-slider").on("click",function(){
|
444
|
+
|
445
|
+
$(this).toggleClass('zoom')
|
446
|
+
|
447
|
+
})
|
448
|
+
|
449
|
+
})
|
450
|
+
|
451
|
+
</script>
|
452
|
+
|
453
|
+
コード
|
454
|
+
|
455
|
+
```
|
1
イメージの説明追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
したいこと
|
2
2
|
|
3
|
+
下のイメージが理想になります。
|
4
|
+
|
5
|
+
![![イメージ説明](91f585f3718635475b0f73c12932a55a.jpeg)](e3b4e910891a0d7c8bbfdfd3ecfffc03.jpeg)
|
6
|
+
|
7
|
+
|
8
|
+
|
3
9
|
|
4
10
|
|
5
11
|
①の以下のスライドでイメージ画像下にテキストをつけ
|