質問編集履歴
3
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -174,7 +174,133 @@
|
|
174
174
|
|
175
175
|
</header>
|
176
176
|
|
177
|
+
<main>
|
178
|
+
|
179
|
+
<div class="fadein">
|
180
|
+
|
177
|
-
<
|
181
|
+
<div>子要素</div>
|
182
|
+
|
183
|
+
<div>子要素</div>
|
184
|
+
|
185
|
+
<div>子要素</div>
|
186
|
+
|
187
|
+
<div>子要素</div>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
<div class="fadein">
|
192
|
+
|
193
|
+
<div>子要素</div>
|
194
|
+
|
195
|
+
<div>子要素</div>
|
196
|
+
|
197
|
+
<div>子要素</div>
|
198
|
+
|
199
|
+
<div>子要素</div>
|
200
|
+
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div class="fadein">
|
204
|
+
|
205
|
+
<div>子要素</div>
|
206
|
+
|
207
|
+
<div>子要素</div>
|
208
|
+
|
209
|
+
<div>子要素</div>
|
210
|
+
|
211
|
+
<div>子要素</div>
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
<div class="fadein">
|
216
|
+
|
217
|
+
<div>子要素</div>
|
218
|
+
|
219
|
+
<div>子要素</div>
|
220
|
+
|
221
|
+
<div>子要素</div>
|
222
|
+
|
223
|
+
<div>子要素</div>
|
224
|
+
|
225
|
+
</div>
|
226
|
+
|
227
|
+
<div class="fadein">
|
228
|
+
|
229
|
+
<div>子要素</div>
|
230
|
+
|
231
|
+
<div>子要素</div>
|
232
|
+
|
233
|
+
<div>子要素</div>
|
234
|
+
|
235
|
+
<div>子要素</div>
|
236
|
+
|
237
|
+
</div>
|
238
|
+
|
239
|
+
<div class="fadein">
|
240
|
+
|
241
|
+
<div>子要素</div>
|
242
|
+
|
243
|
+
<div>子要素</div>
|
244
|
+
|
245
|
+
<div>子要素</div>
|
246
|
+
|
247
|
+
<div>子要素</div>
|
248
|
+
|
249
|
+
</div>
|
250
|
+
|
251
|
+
<div class="fadein">
|
252
|
+
|
253
|
+
<div>子要素</div>
|
254
|
+
|
255
|
+
<div>子要素</div>
|
256
|
+
|
257
|
+
<div>子要素</div>
|
258
|
+
|
259
|
+
<div>子要素</div>
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
<div class="flex">
|
264
|
+
|
265
|
+
<div class="fadein">
|
266
|
+
|
267
|
+
<div>子要素</div>
|
268
|
+
|
269
|
+
<div>子要素</div>
|
270
|
+
|
271
|
+
<div>子要素</div>
|
272
|
+
|
273
|
+
<div>子要素</div>
|
274
|
+
|
275
|
+
</div>
|
276
|
+
|
277
|
+
<div class="fadein">
|
278
|
+
|
279
|
+
<div>子要素</div>
|
280
|
+
|
281
|
+
<div>子要素</div>
|
282
|
+
|
283
|
+
<div>子要素</div>
|
284
|
+
|
285
|
+
<div>子要素</div>
|
286
|
+
|
287
|
+
</div>
|
288
|
+
|
289
|
+
<div class="fadein">
|
290
|
+
|
291
|
+
<div>子要素</div>
|
292
|
+
|
293
|
+
<div>子要素</div>
|
294
|
+
|
295
|
+
<div>子要素</div>
|
296
|
+
|
297
|
+
<div>子要素</div>
|
298
|
+
|
299
|
+
</div>
|
300
|
+
|
301
|
+
</div>
|
302
|
+
|
303
|
+
</main>
|
178
304
|
|
179
305
|
<footer></footer>
|
180
306
|
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -142,10 +142,10 @@
|
|
142
142
|
|
143
143
|
<span></span>
|
144
144
|
|
145
|
-
<span></span>[
|
146
|
-
|
147
145
|
<span></span>
|
148
146
|
|
147
|
+
<span></span>
|
148
|
+
|
149
149
|
</div>
|
150
150
|
|
151
151
|
</div>
|
1
まだ作成途中でお恥ずかしいですが、ご確認よろしくお願いします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -97,3 +97,137 @@
|
|
97
97
|
まだ何か足りない情報がありましたら、追記させて頂きます。
|
98
98
|
|
99
99
|
ご回答の程、宜しくお願い致します。
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
追記
|
104
|
+
|
105
|
+
```
|
106
|
+
|
107
|
+
<!DOCTYPE html>
|
108
|
+
|
109
|
+
<html lang="ja">
|
110
|
+
|
111
|
+
<head>
|
112
|
+
|
113
|
+
<meta charset="UTF-8">
|
114
|
+
|
115
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
116
|
+
|
117
|
+
<title>aaaa</title>
|
118
|
+
|
119
|
+
<link href="https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed:400,500,600,700,900i&display=swap" rel="stylesheet">
|
120
|
+
|
121
|
+
<link rel="stylesheet" href="css/style.css">
|
122
|
+
|
123
|
+
<link rel="stylesheet" href="css/sanitize.css">
|
124
|
+
|
125
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
126
|
+
|
127
|
+
</head>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<body>
|
134
|
+
|
135
|
+
<header class="header">
|
136
|
+
|
137
|
+
<h1 class="heading">heading</h1>
|
138
|
+
|
139
|
+
<div id="nav-toggle">
|
140
|
+
|
141
|
+
<div>
|
142
|
+
|
143
|
+
<span></span>
|
144
|
+
|
145
|
+
<span></span>[
|
146
|
+
|
147
|
+
<span></span>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<div id="gloval-nav">
|
154
|
+
|
155
|
+
<nav>
|
156
|
+
|
157
|
+
<ul>
|
158
|
+
|
159
|
+
<li><a href="#">HOME</a></li>
|
160
|
+
|
161
|
+
<li><a href="#">ABOUT</a></li>
|
162
|
+
|
163
|
+
<li><a href="#">WORKS</a></li>
|
164
|
+
|
165
|
+
<li><a href="#">CONTACT</a></li>
|
166
|
+
|
167
|
+
</ul>
|
168
|
+
|
169
|
+
</nav>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<!-- /#gloval-nav -->
|
174
|
+
|
175
|
+
</header>
|
176
|
+
|
177
|
+
<main></main>
|
178
|
+
|
179
|
+
<footer></footer>
|
180
|
+
|
181
|
+
<script>
|
182
|
+
|
183
|
+
$(function () {
|
184
|
+
|
185
|
+
$(window).on('scroll touchnmove',function() {
|
186
|
+
|
187
|
+
scroll_effect();
|
188
|
+
|
189
|
+
});
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
function scroll_effect() {
|
194
|
+
|
195
|
+
$('.fadein').each(function() {
|
196
|
+
|
197
|
+
var fadeoffset = $(this).offset().top,
|
198
|
+
|
199
|
+
scroll = $(window).scrollTop(),
|
200
|
+
|
201
|
+
windowHeight = $(window).height();
|
202
|
+
|
203
|
+
if (scroll > fadeoffset - windowHeight - 100) {
|
204
|
+
|
205
|
+
$(this).addClass('scrollin');
|
206
|
+
|
207
|
+
} else {
|
208
|
+
|
209
|
+
$(this).removeClass('scrollin');
|
210
|
+
|
211
|
+
}
|
212
|
+
|
213
|
+
});
|
214
|
+
|
215
|
+
}
|
216
|
+
|
217
|
+
$('#nav-toggle').on('click', function() {
|
218
|
+
|
219
|
+
$('body').toggleClass('open');
|
220
|
+
|
221
|
+
});
|
222
|
+
|
223
|
+
});
|
224
|
+
|
225
|
+
</script>
|
226
|
+
|
227
|
+
</body>
|
228
|
+
|
229
|
+
</html>
|
230
|
+
|
231
|
+
コード
|
232
|
+
|
233
|
+
```
|