質問編集履歴
1
HTMLの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -11,7 +11,115 @@
|
|
11
11
|
### 該当のソースコード
|
12
12
|
|
13
13
|
```HTML
|
14
|
+
<div class="cosme">
|
15
|
+
<h1 class="cosme__ttl">この記事に登場したコスメ</h1>
|
16
|
+
<div class="carousel" aria-label="Gallery">
|
17
|
+
<ol class="carousel__viewport">
|
18
|
+
<li id="carousel__slide1" tabindex="0" class="carousel__slide">
|
19
|
+
<div class="carousel__snapper">
|
20
|
+
<a href="#"><!----> <!---->
|
21
|
+
<div><img
|
22
|
+
src="画像パス"></div>
|
23
|
+
<div class="CsmCard__summary_9ORs3">
|
24
|
+
<div>
|
25
|
+
<p class="g-subtitle4 CsmCard__brand_sUWYx"><!---->
|
14
|
-
|
26
|
+
トランシーノ
|
27
|
+
</p>
|
28
|
+
<p class="g-subtitle3 CsmCard__name_4AauZ">
|
29
|
+
薬用クリアクレンジングEX
|
30
|
+
</p> <!----> <!---->
|
31
|
+
</div>
|
32
|
+
<div class="CsmCard__footer_F-ied">
|
33
|
+
<div>
|
34
|
+
<p class="CsmCard__capacityPrice_KlR3R">
|
35
|
+
110g/¥1980
|
36
|
+
</p> <!---->
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</a>
|
41
|
+
<a href="#carousel__slide4" class="carousel__prev">Go to last slide</a>
|
42
|
+
<a href="#carousel__slide2" class="carousel__next">Go to next slide</a>
|
43
|
+
</div>
|
44
|
+
</li>
|
45
|
+
<li id="carousel__slide2" tabindex="0" class="carousel__slide">
|
46
|
+
<div class="carousel__snapper"></div>
|
47
|
+
<a href="#">
|
48
|
+
<div class="画像パス"></div>
|
49
|
+
<div class="CsmCard__summary_9ORs3">
|
50
|
+
<div>
|
51
|
+
<p class="g-subtitle4 CsmCard__brand_sUWYx"><!---->
|
52
|
+
トランシーノ
|
53
|
+
</p>
|
54
|
+
<p class="g-subtitle3 CsmCard__name_4AauZ">
|
55
|
+
薬用クリアクレンジングEX
|
56
|
+
</p> <!----> <!---->
|
57
|
+
</div>
|
58
|
+
<div class="CsmCard__footer_F-ied">
|
59
|
+
<div>
|
60
|
+
<p class="CsmCard__capacityPrice_KlR3R">
|
61
|
+
110g/¥1980
|
62
|
+
</p> <!---->
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</a>
|
67
|
+
<a href="#carousel__slide1" class="carousel__prev">Go to previous slide</a>
|
68
|
+
<a href="#carousel__slide3" class="carousel__next">Go to next slide</a>
|
69
|
+
</li>
|
70
|
+
<li id="carousel__slide3" tabindex="0" class="carousel__slide">
|
71
|
+
<div class="carousel__snapper"></div>
|
72
|
+
<a href="#"><!----> <!---->
|
73
|
+
<div><img
|
74
|
+
src="画像パス"></div>
|
75
|
+
<div class="CsmCard__summary_9ORs3">
|
76
|
+
<div>
|
77
|
+
<p class="g-subtitle4 CsmCard__brand_sUWYx"><!---->
|
78
|
+
トランシーノ
|
79
|
+
</p>
|
80
|
+
<p class="g-subtitle3 CsmCard__name_4AauZ">
|
81
|
+
薬用クリアクレンジングEX
|
82
|
+
</p> <!----> <!---->
|
83
|
+
</div>
|
84
|
+
<div class="CsmCard__footer_F-ied">
|
85
|
+
<div>
|
86
|
+
<p class="CsmCard__capacityPrice_KlR3R">
|
87
|
+
110g/¥1980
|
88
|
+
</p> <!---->
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</a>
|
93
|
+
<a href="#carousel__slide2" class="carousel__prev">Go to previous slide</a>
|
94
|
+
<a href="#carousel__slide4" class="carousel__next">Go to next slide</a>
|
95
|
+
</li>
|
96
|
+
<li id="carousel__slide4" tabindex="0" class="carousel__slide">
|
97
|
+
<div class="carousel__snapper"></div>
|
98
|
+
<a href="#" class="CsmCard_5Iuoi">
|
99
|
+
<div class="画像パス"></div>
|
100
|
+
<div class="CsmCard__summary_9ORs3">
|
101
|
+
<div>
|
102
|
+
<p class="g-subtitle4 CsmCard__brand_sUWYx"><!---->
|
103
|
+
トランシーノ
|
104
|
+
</p>
|
105
|
+
<p class="g-subtitle3 CsmCard__name_4AauZ">
|
106
|
+
薬用クリアクレンジングEX
|
107
|
+
</p> <!----> <!---->
|
108
|
+
</div>
|
109
|
+
<div class="CsmCard__footer_F-ied">
|
110
|
+
<div>
|
111
|
+
<p class="CsmCard__capacityPrice_KlR3R">
|
112
|
+
110g/¥1980
|
113
|
+
</p> <!---->
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
</a>
|
118
|
+
<a href="#carousel__slide3" class="carousel__prev">Go to previous slide</a>
|
119
|
+
<a href="#carousel__slide1" class="carousel__next">Go to first slide</a>
|
120
|
+
</li>
|
121
|
+
</div>
|
122
|
+
</div>
|
15
123
|
```
|
16
124
|
|
17
125
|
```CSS
|
@@ -271,29 +379,6 @@
|
|
271
379
|
.CsmCard__like_Hat65 {
|
272
380
|
margin-left: auto;
|
273
381
|
}
|
274
|
-
|
275
|
-
@media screen and (max-width: 768px) {
|
276
|
-
.carousel {
|
277
|
-
padding-top: 115%;
|
278
|
-
}
|
279
|
-
|
280
|
-
.carousel::before,
|
281
|
-
.carousel__prev {
|
282
|
-
left: 3rem;
|
283
|
-
}
|
284
|
-
|
285
|
-
.carousel::after,
|
286
|
-
.carousel__next {
|
287
|
-
right: 3rem;
|
288
|
-
}
|
289
|
-
|
290
|
-
.carousel::before,
|
291
|
-
.carousel::after,
|
292
|
-
.carousel__prev,
|
293
|
-
.carousel__next {
|
294
|
-
top: 8%;
|
295
|
-
}
|
296
|
-
}
|
297
382
|
```
|
298
383
|
|
299
384
|
### 試したこと・調べたこと
|