質問編集履歴

2

追記

2018/09/10 03:00

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -96,6 +96,10 @@
96
96
 
97
97
  ただこれのどれが原因なのかはまだ分かりません。
98
98
 
99
+
100
+
101
+ 分かりました
102
+
99
103
 
100
104
 
101
105
  ```css
@@ -120,7 +124,7 @@
120
124
 
121
125
  margin: 0;
122
126
 
123
- overflow: hidden;
127
+ overflow: hidden; //これのせい
124
128
 
125
129
  }
126
130
 

1

追記

2018/09/10 03:00

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -85,3 +85,489 @@
85
85
  このようなスタイルを加えたら、rectangleを溢れさせるようにはできるんですが、右下に維持しつつ置いてけぼりにできるわけじゃないので、理想の動きにはなりません。
86
86
 
87
87
  どのようにすればいいでしょうか。
88
+
89
+
90
+
91
+ -追記-
92
+
93
+ スクロールが効かないのはノーマライズのcssが原因でした。
94
+
95
+ 申し訳ございません。
96
+
97
+ ただこれのどれが原因なのかはまだ分かりません。
98
+
99
+
100
+
101
+ ```css
102
+
103
+ /*! normalize.scss v0.1.0 | MIT License | based on git.io/normalize */
104
+
105
+
106
+
107
+ html {
108
+
109
+ font-family: sans-serif;
110
+
111
+ -ms-text-size-adjust: 100%;
112
+
113
+ -webkit-text-size-adjust: 100%
114
+
115
+ }
116
+
117
+
118
+
119
+ body {
120
+
121
+ margin: 0;
122
+
123
+ overflow: hidden;
124
+
125
+ }
126
+
127
+
128
+
129
+ article,
130
+
131
+ aside,
132
+
133
+ details,
134
+
135
+ figcaption,
136
+
137
+ figure,
138
+
139
+ footer,
140
+
141
+ header,
142
+
143
+ hgroup,
144
+
145
+ main,
146
+
147
+ menu,
148
+
149
+ nav,
150
+
151
+ section,
152
+
153
+ summary {
154
+
155
+ display: block
156
+
157
+ }
158
+
159
+
160
+
161
+ audio,
162
+
163
+ canvas,
164
+
165
+ progress,
166
+
167
+ video {
168
+
169
+ display: inline-block;
170
+
171
+ vertical-align: baseline
172
+
173
+ }
174
+
175
+
176
+
177
+ audio:not([controls]) {
178
+
179
+ display: none;
180
+
181
+ height: 0
182
+
183
+ }
184
+
185
+
186
+
187
+ [hidden],
188
+
189
+ template {
190
+
191
+ display: none
192
+
193
+ }
194
+
195
+
196
+
197
+ a {
198
+
199
+ background-color: transparent;
200
+
201
+ text-decoration: none
202
+
203
+ }
204
+
205
+
206
+
207
+ a:active,
208
+
209
+ a:hover {
210
+
211
+ outline: 0
212
+
213
+ }
214
+
215
+
216
+
217
+ abbr[title] {
218
+
219
+ border-bottom: 1px dotted
220
+
221
+ }
222
+
223
+
224
+
225
+ b,
226
+
227
+ strong {
228
+
229
+ font-weight: bold
230
+
231
+ }
232
+
233
+
234
+
235
+ dfn {
236
+
237
+ font-style: italic
238
+
239
+ }
240
+
241
+
242
+
243
+ h1 {
244
+
245
+ font-size: 2em;
246
+
247
+ margin: 0.67em 0
248
+
249
+ }
250
+
251
+
252
+
253
+ mark {
254
+
255
+ background: #ff0;
256
+
257
+ color: #000
258
+
259
+ }
260
+
261
+
262
+
263
+ small {
264
+
265
+ font-size: 80%
266
+
267
+ }
268
+
269
+
270
+
271
+ sub,
272
+
273
+ sup {
274
+
275
+ font-size: 75%;
276
+
277
+ line-height: 0;
278
+
279
+ position: relative;
280
+
281
+ vertical-align: baseline
282
+
283
+ }
284
+
285
+
286
+
287
+ sup {
288
+
289
+ top: -0.5em
290
+
291
+ }
292
+
293
+
294
+
295
+ sub {
296
+
297
+ bottom: -0.25em
298
+
299
+ }
300
+
301
+
302
+
303
+ img {
304
+
305
+ border: 0
306
+
307
+ }
308
+
309
+
310
+
311
+ svg:not(:root) {
312
+
313
+ overflow: hidden
314
+
315
+ }
316
+
317
+
318
+
319
+ figure {
320
+
321
+ margin: 1em 40px
322
+
323
+ }
324
+
325
+
326
+
327
+ hr {
328
+
329
+ -moz-box-sizing: content-box;
330
+
331
+ box-sizing: content-box;
332
+
333
+ height: 0
334
+
335
+ }
336
+
337
+
338
+
339
+ pre {
340
+
341
+ overflow: auto
342
+
343
+ }
344
+
345
+
346
+
347
+ code,
348
+
349
+ kbd,
350
+
351
+ pre,
352
+
353
+ samp {
354
+
355
+ font-family: monospace, monospace;
356
+
357
+ font-size: 1em
358
+
359
+ }
360
+
361
+
362
+
363
+ button,
364
+
365
+ input,
366
+
367
+ optgroup,
368
+
369
+ select,
370
+
371
+ textarea {
372
+
373
+ color: inherit;
374
+
375
+ font: inherit;
376
+
377
+ margin: 0
378
+
379
+ }
380
+
381
+
382
+
383
+ button {
384
+
385
+ overflow: visible
386
+
387
+ }
388
+
389
+
390
+
391
+ button,
392
+
393
+ select {
394
+
395
+ text-transform: none
396
+
397
+ }
398
+
399
+
400
+
401
+ button,
402
+
403
+ html input[type="button"],
404
+
405
+ input[type="reset"],
406
+
407
+ input[type="submit"] {
408
+
409
+ -webkit-appearance: button;
410
+
411
+ cursor: pointer
412
+
413
+ }
414
+
415
+
416
+
417
+ button[disabled],
418
+
419
+ html input[disabled] {
420
+
421
+ cursor: default
422
+
423
+ }
424
+
425
+
426
+
427
+ button::-moz-focus-inner,
428
+
429
+ input::-moz-focus-inner {
430
+
431
+ border: 0;
432
+
433
+ padding: 0
434
+
435
+ }
436
+
437
+
438
+
439
+ input {
440
+
441
+ line-height: normal
442
+
443
+ }
444
+
445
+
446
+
447
+ input[type="checkbox"],
448
+
449
+ input[type="radio"] {
450
+
451
+ box-sizing: border-box;
452
+
453
+ padding: 0
454
+
455
+ }
456
+
457
+
458
+
459
+ input[type="number"]::-webkit-inner-spin-button,
460
+
461
+ input[type="number"]::-webkit-outer-spin-button {
462
+
463
+ height: auto
464
+
465
+ }
466
+
467
+
468
+
469
+ input[type="search"] {
470
+
471
+ -webkit-appearance: textfield;
472
+
473
+ -moz-box-sizing: content-box;
474
+
475
+ -webkit-box-sizing: content-box;
476
+
477
+ box-sizing: content-box
478
+
479
+ }
480
+
481
+
482
+
483
+ input[type="search"]::-webkit-search-cancel-button,
484
+
485
+ input[type="search"]::-webkit-search-decoration {
486
+
487
+ -webkit-appearance: none
488
+
489
+ }
490
+
491
+
492
+
493
+ fieldset {
494
+
495
+ border: 1px solid #c0c0c0;
496
+
497
+ margin: 0 2px;
498
+
499
+ padding: 0.35em 0.625em 0.75em
500
+
501
+ }
502
+
503
+
504
+
505
+ legend {
506
+
507
+ border: 0;
508
+
509
+ padding: 0
510
+
511
+ }
512
+
513
+
514
+
515
+ textarea {
516
+
517
+ overflow: auto
518
+
519
+ }
520
+
521
+
522
+
523
+ optgroup {
524
+
525
+ font-weight: bold
526
+
527
+ }
528
+
529
+
530
+
531
+ table {
532
+
533
+ border-collapse: collapse;
534
+
535
+ border-spacing: 0
536
+
537
+ }
538
+
539
+
540
+
541
+ td,
542
+
543
+ th {
544
+
545
+ padding: 0
546
+
547
+ }
548
+
549
+
550
+
551
+ /*input type numberのスピンボタン消す*/
552
+
553
+
554
+
555
+ input[type="number"]::-webkit-outer-spin-button,
556
+
557
+ input[type="number"]::-webkit-inner-spin-button {
558
+
559
+ -webkit-appearance: none;
560
+
561
+ margin: 0;
562
+
563
+ }
564
+
565
+
566
+
567
+ input[type="number"] {
568
+
569
+ -moz-appearance: textfield;
570
+
571
+ }
572
+
573
+ ```