質問編集履歴

2

誤字修正

2020/02/14 07:54

投稿

ysfree14
ysfree14

スコア19

test CHANGED
File without changes
test CHANGED
@@ -166,31 +166,31 @@
166
166
 
167
167
  .arrow .slick-next {
168
168
 
169
- position: absolute;
169
+   position: absolute;
170
-
170
+
171
- width: 50px;
171
+   width: 50px;
172
-
172
+
173
- height: 70px;
173
+   height: 70px;
174
-
174
+
175
- top: 50%;
175
+   top: 50%;
176
-
176
+
177
-   right: 0;
177
+   right: 0;
178
-
178
+
179
-    background: url(../images/index/slide-right.png)no-repeat;
179
+   background: url(../images/index/slide-right.png)no-repeat;
180
-
180
+
181
-   background-position: center center;
181
+   background-position: center center;
182
-
182
+
183
- background-size: contain;
183
+   background-size: contain;
184
-
184
+
185
- z-index: 10;
185
+   z-index: 10;
186
-
186
+
187
- font-size: 0;
187
+   font-size: 0;
188
-
188
+
189
- transform: translateY(-50%);
189
+   transform: translateY(-50%);
190
-
190
+
191
- -webkit-transform: translateY(-50%);
191
+   -webkit-transform: translateY(-50%);
192
-
192
+
193
- cursor: pointer;
193
+   cursor: pointer;
194
194
 
195
195
  }
196
196
 
@@ -256,34 +256,34 @@
256
256
 
257
257
  $('.index-slider').slick({
258
258
 
259
- autoplay: true,
259
+   autoplay: true,
260
-
260
+
261
- centerMode: true,
261
+   centerMode: true,
262
-
262
+
263
- slidesToShow: 3,
263
+   slidesToShow: 3,
264
-
264
+
265
- slidesToScroll: 1,
265
+   slidesToScroll: 1,
266
-
266
+
267
- appendArrows: $('.arrow'),
267
+   appendArrows: $('.arrow'),
268
-
268
+
269
- responsive: [{
269
+   responsive: [{
270
-
270
+
271
- breakpoint: 768,
271
+   breakpoint: 768,
272
-
272
+
273
- settings: {
273
+     settings: {
274
-
274
+
275
- slidesToShow: 1,
275
+       slidesToShow: 1,
276
-
276
+
277
- slidesToScroll: 1,
277
+       slidesToScroll: 1,
278
-
278
+
279
- centerMode: false,
279
+       centerMode: false,
280
-
280
+
281
- }
281
+ }
282
-
282
+
283
- }
283
+   }
284
-
284
+
285
- ]
285
+   ]
286
-
286
+
287
- });
287
+ });
288
288
 
289
289
  ```

1

誤字の修正

2020/02/14 07:54

投稿

ysfree14
ysfree14

スコア19

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- スライドに固定幅を指定いないのが原因だと思うのですが、
5
+ スライドに固定幅を指定していないのが原因だと思うのですが、
6
6
 
7
7
  固定幅を指定するとスマホのときに別ページから戻るとスライドの位置がずれてしまいます。
8
8