質問編集履歴
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -47,6 +47,8 @@
|
|
47
47
|
スクロールが効かないのはノーマライズのcssが原因でした。
|
48
48
|
申し訳ございません。
|
49
49
|
ただこれのどれが原因なのかはまだ分かりません。
|
50
|
+
↓
|
51
|
+
分かりました
|
50
52
|
|
51
53
|
```css
|
52
54
|
/*! normalize.scss v0.1.0 | MIT License | based on git.io/normalize */
|
@@ -59,7 +61,7 @@
|
|
59
61
|
|
60
62
|
body {
|
61
63
|
margin: 0;
|
62
|
-
overflow: hidden;
|
64
|
+
overflow: hidden; //これのせい
|
63
65
|
}
|
64
66
|
|
65
67
|
article,
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -41,4 +41,247 @@
|
|
41
41
|
```
|
42
42
|
|
43
43
|
このようなスタイルを加えたら、rectangleを溢れさせるようにはできるんですが、右下に維持しつつ置いてけぼりにできるわけじゃないので、理想の動きにはなりません。
|
44
|
-
どのようにすればいいでしょうか。
|
44
|
+
どのようにすればいいでしょうか。
|
45
|
+
|
46
|
+
-追記-
|
47
|
+
スクロールが効かないのはノーマライズのcssが原因でした。
|
48
|
+
申し訳ございません。
|
49
|
+
ただこれのどれが原因なのかはまだ分かりません。
|
50
|
+
|
51
|
+
```css
|
52
|
+
/*! normalize.scss v0.1.0 | MIT License | based on git.io/normalize */
|
53
|
+
|
54
|
+
html {
|
55
|
+
font-family: sans-serif;
|
56
|
+
-ms-text-size-adjust: 100%;
|
57
|
+
-webkit-text-size-adjust: 100%
|
58
|
+
}
|
59
|
+
|
60
|
+
body {
|
61
|
+
margin: 0;
|
62
|
+
overflow: hidden;
|
63
|
+
}
|
64
|
+
|
65
|
+
article,
|
66
|
+
aside,
|
67
|
+
details,
|
68
|
+
figcaption,
|
69
|
+
figure,
|
70
|
+
footer,
|
71
|
+
header,
|
72
|
+
hgroup,
|
73
|
+
main,
|
74
|
+
menu,
|
75
|
+
nav,
|
76
|
+
section,
|
77
|
+
summary {
|
78
|
+
display: block
|
79
|
+
}
|
80
|
+
|
81
|
+
audio,
|
82
|
+
canvas,
|
83
|
+
progress,
|
84
|
+
video {
|
85
|
+
display: inline-block;
|
86
|
+
vertical-align: baseline
|
87
|
+
}
|
88
|
+
|
89
|
+
audio:not([controls]) {
|
90
|
+
display: none;
|
91
|
+
height: 0
|
92
|
+
}
|
93
|
+
|
94
|
+
[hidden],
|
95
|
+
template {
|
96
|
+
display: none
|
97
|
+
}
|
98
|
+
|
99
|
+
a {
|
100
|
+
background-color: transparent;
|
101
|
+
text-decoration: none
|
102
|
+
}
|
103
|
+
|
104
|
+
a:active,
|
105
|
+
a:hover {
|
106
|
+
outline: 0
|
107
|
+
}
|
108
|
+
|
109
|
+
abbr[title] {
|
110
|
+
border-bottom: 1px dotted
|
111
|
+
}
|
112
|
+
|
113
|
+
b,
|
114
|
+
strong {
|
115
|
+
font-weight: bold
|
116
|
+
}
|
117
|
+
|
118
|
+
dfn {
|
119
|
+
font-style: italic
|
120
|
+
}
|
121
|
+
|
122
|
+
h1 {
|
123
|
+
font-size: 2em;
|
124
|
+
margin: 0.67em 0
|
125
|
+
}
|
126
|
+
|
127
|
+
mark {
|
128
|
+
background: #ff0;
|
129
|
+
color: #000
|
130
|
+
}
|
131
|
+
|
132
|
+
small {
|
133
|
+
font-size: 80%
|
134
|
+
}
|
135
|
+
|
136
|
+
sub,
|
137
|
+
sup {
|
138
|
+
font-size: 75%;
|
139
|
+
line-height: 0;
|
140
|
+
position: relative;
|
141
|
+
vertical-align: baseline
|
142
|
+
}
|
143
|
+
|
144
|
+
sup {
|
145
|
+
top: -0.5em
|
146
|
+
}
|
147
|
+
|
148
|
+
sub {
|
149
|
+
bottom: -0.25em
|
150
|
+
}
|
151
|
+
|
152
|
+
img {
|
153
|
+
border: 0
|
154
|
+
}
|
155
|
+
|
156
|
+
svg:not(:root) {
|
157
|
+
overflow: hidden
|
158
|
+
}
|
159
|
+
|
160
|
+
figure {
|
161
|
+
margin: 1em 40px
|
162
|
+
}
|
163
|
+
|
164
|
+
hr {
|
165
|
+
-moz-box-sizing: content-box;
|
166
|
+
box-sizing: content-box;
|
167
|
+
height: 0
|
168
|
+
}
|
169
|
+
|
170
|
+
pre {
|
171
|
+
overflow: auto
|
172
|
+
}
|
173
|
+
|
174
|
+
code,
|
175
|
+
kbd,
|
176
|
+
pre,
|
177
|
+
samp {
|
178
|
+
font-family: monospace, monospace;
|
179
|
+
font-size: 1em
|
180
|
+
}
|
181
|
+
|
182
|
+
button,
|
183
|
+
input,
|
184
|
+
optgroup,
|
185
|
+
select,
|
186
|
+
textarea {
|
187
|
+
color: inherit;
|
188
|
+
font: inherit;
|
189
|
+
margin: 0
|
190
|
+
}
|
191
|
+
|
192
|
+
button {
|
193
|
+
overflow: visible
|
194
|
+
}
|
195
|
+
|
196
|
+
button,
|
197
|
+
select {
|
198
|
+
text-transform: none
|
199
|
+
}
|
200
|
+
|
201
|
+
button,
|
202
|
+
html input[type="button"],
|
203
|
+
input[type="reset"],
|
204
|
+
input[type="submit"] {
|
205
|
+
-webkit-appearance: button;
|
206
|
+
cursor: pointer
|
207
|
+
}
|
208
|
+
|
209
|
+
button[disabled],
|
210
|
+
html input[disabled] {
|
211
|
+
cursor: default
|
212
|
+
}
|
213
|
+
|
214
|
+
button::-moz-focus-inner,
|
215
|
+
input::-moz-focus-inner {
|
216
|
+
border: 0;
|
217
|
+
padding: 0
|
218
|
+
}
|
219
|
+
|
220
|
+
input {
|
221
|
+
line-height: normal
|
222
|
+
}
|
223
|
+
|
224
|
+
input[type="checkbox"],
|
225
|
+
input[type="radio"] {
|
226
|
+
box-sizing: border-box;
|
227
|
+
padding: 0
|
228
|
+
}
|
229
|
+
|
230
|
+
input[type="number"]::-webkit-inner-spin-button,
|
231
|
+
input[type="number"]::-webkit-outer-spin-button {
|
232
|
+
height: auto
|
233
|
+
}
|
234
|
+
|
235
|
+
input[type="search"] {
|
236
|
+
-webkit-appearance: textfield;
|
237
|
+
-moz-box-sizing: content-box;
|
238
|
+
-webkit-box-sizing: content-box;
|
239
|
+
box-sizing: content-box
|
240
|
+
}
|
241
|
+
|
242
|
+
input[type="search"]::-webkit-search-cancel-button,
|
243
|
+
input[type="search"]::-webkit-search-decoration {
|
244
|
+
-webkit-appearance: none
|
245
|
+
}
|
246
|
+
|
247
|
+
fieldset {
|
248
|
+
border: 1px solid #c0c0c0;
|
249
|
+
margin: 0 2px;
|
250
|
+
padding: 0.35em 0.625em 0.75em
|
251
|
+
}
|
252
|
+
|
253
|
+
legend {
|
254
|
+
border: 0;
|
255
|
+
padding: 0
|
256
|
+
}
|
257
|
+
|
258
|
+
textarea {
|
259
|
+
overflow: auto
|
260
|
+
}
|
261
|
+
|
262
|
+
optgroup {
|
263
|
+
font-weight: bold
|
264
|
+
}
|
265
|
+
|
266
|
+
table {
|
267
|
+
border-collapse: collapse;
|
268
|
+
border-spacing: 0
|
269
|
+
}
|
270
|
+
|
271
|
+
td,
|
272
|
+
th {
|
273
|
+
padding: 0
|
274
|
+
}
|
275
|
+
|
276
|
+
/*input type numberのスピンボタン消す*/
|
277
|
+
|
278
|
+
input[type="number"]::-webkit-outer-spin-button,
|
279
|
+
input[type="number"]::-webkit-inner-spin-button {
|
280
|
+
-webkit-appearance: none;
|
281
|
+
margin: 0;
|
282
|
+
}
|
283
|
+
|
284
|
+
input[type="number"] {
|
285
|
+
-moz-appearance: textfield;
|
286
|
+
}
|
287
|
+
```
|