質問編集履歴

3

codeを追加しました

2018/05/25 06:58

投稿

hashimoto-japan
hashimoto-japan

スコア8

test CHANGED
File without changes
test CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  下記がソースです。
32
32
 
33
-
33
+ ```html
34
34
 
35
35
  <section class="blog"><div class="blog__inner"><div class="top-casestudy-mid-box">
36
36
 
@@ -170,9 +170,9 @@
170
170
 
171
171
  </section>
172
172
 
173
-
173
+ ```
174
+
174
-
175
+ ```css
175
-
176
176
 
177
177
  .swiper-custom-parent{
178
178
 
@@ -422,6 +422,8 @@
422
422
 
423
423
  }
424
424
 
425
+ ```
426
+
425
427
 
426
428
 
427
429
  ■問題が発生した環境

2

文法の修正

2018/05/25 06:58

投稿

hashimoto-japan
hashimoto-japan

スコア8

test CHANGED
File without changes
test CHANGED
@@ -16,17 +16,417 @@
16
16
 
17
17
  Case studyのところみたいなスライダーにしたい
18
18
 
19
+ https://gyazo.com/9e0d7457f3a697741a51aacae895e6e9
20
+
21
+ 上記キャプチャのようなかんじです。
22
+
19
23
 
20
24
 
21
25
  ■発生している問題
22
26
 
23
27
  BlogのところをCMSに挿入するとフッターをこえて1番下に表示されて崩れる。
24
28
 
29
+ CMSはOwletというCMSです。
30
+
31
+ 下記がソースです。
32
+
33
+
34
+
35
+ <section class="blog"><div class="blog__inner"><div class="top-casestudy-mid-box">
36
+
37
+ <h3 class="top-ttl-01">Blog</h3>
38
+
39
+ <a href="#" class="casestudy-more-link">More</a>
40
+
41
+ </div>
42
+
43
+
44
+
45
+ <div class="swiper-custom-parent">
46
+
47
+ <div>
48
+
49
+ <div class="swiper-container2 swiper-container-horizontal">
50
+
51
+ <div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1320px, 0px, 0px);">
52
+
53
+ <div class="swiper-slide swiper-4column__block swiper-slide-next" data-swiper-slide-index="0" style="width: 290px; margin-right: 40px;">
54
+
55
+ <div class="swiper-4column__image"><img src="/_img/ja/article/13/main_image/290_200_1_ffffff/"></div>
56
+
57
+ <div class="swiper-4column__body">
58
+
59
+ <p class="swiper-4column__date">2018.05.23</p>
60
+
61
+ <p class="swiper-4column__headline"><a href="/blog/knowledge/20180523-13/">知識ノウハウ知識ノウハウ</a></p>
62
+
63
+ </div>
64
+
65
+ </div>
66
+
67
+ </div><div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1320px, 0px, 0px);">
68
+
69
+ <div class="swiper-slide swiper-4column__block" data-swiper-slide-index="1" style="width: 290px; margin-right: 40px;">
70
+
71
+ <div class="swiper-4column__image"><img src="/_img/ja/article/12/main_image/290_200_1_ffffff/"></div>
72
+
73
+ <div class="swiper-4column__body">
74
+
75
+ <p class="swiper-4column__date">2018.05.23</p>
76
+
77
+ <p class="swiper-4column__headline"><a href="/blog/operating/20180523-12/">あああああああああああ</a></p>
78
+
79
+ </div>
80
+
81
+ </div>
82
+
83
+ </div><div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1320px, 0px, 0px);">
84
+
85
+ <div class="swiper-slide swiper-4column__block" data-swiper-slide-index="2" style="width: 290px; margin-right: 40px;">
86
+
87
+ <div class="swiper-4column__image"><img src="/_img/ja/article/11/main_image/290_200_1_ffffff/"></div>
88
+
89
+ <div class="swiper-4column__body">
90
+
91
+ <p class="swiper-4column__date">2018.05.23</p>
92
+
93
+ <p class="swiper-4column__headline"><a href="/blog/others/20180523-11/">その他テスト</a></p>
94
+
95
+ </div>
96
+
97
+ </div>
98
+
99
+ </div><div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1320px, 0px, 0px);">
100
+
101
+ <div class="swiper-slide swiper-4column__block swiper-slide-duplicate-prev" data-swiper-slide-index="3" style="width: 290px; margin-right: 40px;">
102
+
103
+ <div class="swiper-4column__image"><img src="/_img/ja/article/10/main_image/290_200_1_ffffff/"></div>
104
+
105
+ <div class="swiper-4column__body">
106
+
107
+ <p class="swiper-4column__date">2018.05.23</p>
108
+
109
+ <p class="swiper-4column__headline"><a href="/blog/knowledge/20180523-10/">あああああああ</a></p>
110
+
111
+ </div>
112
+
113
+ </div>
114
+
115
+ </div><div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1320px, 0px, 0px);">
116
+
117
+ <div class="swiper-slide swiper-4column__block swiper-slide-active" data-swiper-slide-index="4" style="width: 290px; margin-right: 40px;">
118
+
119
+ <div class="swiper-4column__image"><img src="/_img/ja/article/3/main_image/290_200_1_ffffff/"></div>
120
+
121
+ <div class="swiper-4column__body">
122
+
123
+ <p class="swiper-4column__date">2018.05.10</p>
124
+
125
+ <p class="swiper-4column__headline"><a href="/blog/marketing/20180510-3/">【マーケティング】ブログタイトルが入ります。</a></p>
126
+
127
+ </div>
128
+
129
+ </div>
130
+
131
+ </div><div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1320px, 0px, 0px);"><div class="swiper-slide swiper-4column__block swiper-slide-duplicate" data-swiper-slide-index="2" style="width: 290px; margin-right: 40px;">
132
+
133
+ <div class="swiper-4column__image"><img src="/_img/ja/article/11/main_image/290_200_1_ffffff/"></div>
134
+
135
+ <div class="swiper-4column__body">
136
+
137
+ <p class="swiper-4column__date">2018.05.23</p>
138
+
139
+ <p class="swiper-4column__headline"><a href="/blog/others/20180523-11/">その他テスト</a></p>
140
+
141
+ </div>
142
+
143
+ </div><div class="swiper-slide swiper-4column__block swiper-slide-duplicate" data-swiper-slide-index="3" style="width: 290px; margin-right: 40px;">
144
+
145
+ <div class="swiper-4column__image"><img src="/_img/ja/article/10/main_image/290_200_1_ffffff/"></div>
146
+
147
+ <div class="swiper-4column__body">
148
+
149
+ <p class="swiper-4column__date">2018.05.23</p>
150
+
151
+ <p class="swiper-4column__headline"><a href="/blog/knowledge/20180523-10/">あああああああ</a></p>
152
+
153
+ </div>
154
+
155
+ </div>
156
+
157
+ </div>
158
+
159
+ <span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span></div>
160
+
161
+ </div>
162
+
163
+ <!-- If we need navigation buttons -->
164
+
165
+ <div class="swiper-button-prev2" tabindex="0" role="button" aria-label="Previous slide"></div>
166
+
167
+ <div class="swiper-button-next2" tabindex="0" role="button" aria-label="Next slide"></div>
168
+
169
+ </div></div>
170
+
171
+ </section>
172
+
173
+
174
+
175
+
176
+
177
+ .swiper-custom-parent{
178
+
179
+ max-width:1480px;
180
+
181
+ width:100%;
182
+
183
+ margin-left:auto;
184
+
185
+ margin-right:auto;
186
+
187
+ position: relative;
188
+
189
+ /*margin-bottom:60px;*/
190
+
191
+ }
192
+
193
+ .swiper-container {
194
+
195
+ overflow: hidden;
196
+
197
+ list-style: none;
198
+
199
+ padding: 0;
200
+
201
+ /* Fix of Webkit flickering */
202
+
203
+ z-index: 1;
204
+
205
+ max-width:1280px;
206
+
207
+ width:100%;
208
+
209
+ margin: 0 auto;
210
+
211
+ }
212
+
213
+ .swiper-container2 {
214
+
215
+ overflow: hidden;
216
+
217
+ list-style: none;
218
+
219
+ padding: 0;
220
+
221
+ /* Fix of Webkit flickering */
222
+
223
+ z-index: 1;
224
+
225
+ max-width:1280px;
226
+
227
+ width:100%;
228
+
229
+ margin: 0 auto;
230
+
231
+ }
232
+
233
+ .swiper-container-no-flexbox .swiper-slide {
234
+
235
+ float: left;
236
+
237
+ }
238
+
239
+ .swiper-container-vertical > .swiper-wrapper {
240
+
241
+ -webkit-box-orient: vertical;
242
+
243
+ -webkit-box-direction: normal;
244
+
245
+ -webkit-flex-direction: column;
246
+
247
+ -ms-flex-direction: column;
248
+
249
+ flex-direction: column;
250
+
251
+ }
252
+
253
+ .swiper-wrapper {
254
+
255
+ position: relative;
256
+
257
+ width:100%;
258
+
259
+ height: 100%;
260
+
261
+ z-index: 1;
262
+
263
+ display: -webkit-box;
264
+
265
+ display: -webkit-flex;
266
+
267
+ display: -ms-flexbox;
268
+
269
+ display: flex;
270
+
271
+ -webkit-transition-property: -webkit-transform;
272
+
273
+ transition-property: -webkit-transform;
274
+
275
+ -o-transition-property: transform;
276
+
277
+ transition-property: transform;
278
+
279
+ transition-property: transform, -webkit-transform;
280
+
281
+ -webkit-box-sizing: content-box;
282
+
283
+ box-sizing: content-box;
284
+
285
+ -webkit-box-pack: justify;
286
+
287
+ -ms-flex-pack: justify;
288
+
289
+ justify-content: space-between;
290
+
291
+ }
292
+
293
+ .p-document-list__item{
294
+
295
+ border: 1px solid #dcdddd;
296
+
297
+ padding: 20px;
298
+
299
+ max-width:400px;
300
+
301
+ background-color: #fff;
302
+
303
+ }
304
+
305
+ @media screen and (min-width: 768px) {
306
+
307
+ .swiper-4column__block{
308
+
309
+ max-width:290px;
310
+
311
+ }
312
+
313
+ }
314
+
315
+ .swiper-4column__image{
316
+
317
+ text-align:center;
318
+
319
+ }
320
+
321
+ .swiper-4column__body{
322
+
323
+ background-color:#fff;
324
+
325
+ padding:15px;
326
+
327
+ }
328
+
329
+ .swiper-4column__date{
330
+
331
+ color:#969696;
332
+
333
+ font-size:13px;
334
+
335
+ line-height:1;
336
+
337
+ margin-bottom:15px;
338
+
339
+ }
340
+
341
+ .swiper-4column__headline{
342
+
343
+ font-weight:bold;
344
+
345
+ font-size:16px;
346
+
347
+ }
348
+
349
+ .swiper-container__headline{
350
+
351
+ font-weight:bold;
352
+
353
+ font-size:1.125rem;
354
+
355
+ margin-bottom:10px;
356
+
357
+ }
358
+
359
+ .swiper-container__category{
360
+
361
+ margin-bottom:5px;
362
+
363
+ color:#41a9c6;
364
+
365
+ }
366
+
367
+ .swiper-container-android .swiper-slide,
368
+
369
+ .swiper-wrapper {
370
+
371
+ -webkit-transform: translate3d(0px, 0, 0);
372
+
373
+ transform: translate3d(0px, 0, 0);
374
+
375
+ }
376
+
377
+ .swiper-container-multirow > .swiper-wrapper {
378
+
379
+ -webkit-flex-wrap: wrap;
380
+
381
+ -ms-flex-wrap: wrap;
382
+
383
+ flex-wrap: wrap;
384
+
385
+ }
386
+
387
+ .swiper-container-free-mode > .swiper-wrapper {
388
+
389
+ -webkit-transition-timing-function: ease-out;
390
+
391
+ -o-transition-timing-function: ease-out;
392
+
393
+ transition-timing-function: ease-out;
394
+
395
+ margin: 0 auto;
396
+
397
+ }
398
+
399
+ .swiper-slide {
400
+
401
+ -webkit-flex-shrink: 0;
402
+
403
+ -ms-flex-negative: 0;
404
+
405
+ flex-shrink: 0;
406
+
407
+ width:100%;
408
+
409
+ height: 100%;
410
+
411
+ position: relative;
412
+
413
+ -webkit-transition-property: -webkit-transform;
414
+
415
+ transition-property: -webkit-transform;
416
+
417
+ -o-transition-property: transform;
418
+
419
+ transition-property: transform;
420
+
421
+ transition-property: transform, -webkit-transform;
422
+
423
+ }
424
+
25
425
 
26
426
 
27
427
  ■問題が発生した環境
28
428
 
29
- windows 10
429
+ firefox chrome最新
30
430
 
31
431
 
32
432
 

1

書式の改善

2018/05/25 06:47

投稿

hashimoto-japan
hashimoto-japan

スコア8

test CHANGED
File without changes
test CHANGED
@@ -12,4 +12,22 @@
12
12
 
13
13
 
14
14
 
15
+ ■前提・実現したいこと
16
+
17
+ Case studyのところみたいなスライダーにしたい
18
+
19
+
20
+
21
+ ■発生している問題
22
+
23
+ BlogのところをCMSに挿入するとフッターをこえて1番下に表示されて崩れる。
24
+
25
+
26
+
27
+ ■問題が発生した環境
28
+
29
+ windows 10
30
+
31
+
32
+
15
33
  お忙しいとは存じますが、どなたか解決方法をご教授いただければ幸いです。