質問編集履歴
1
コード欄の中にコードを入れ直しました。ご指摘ありがとうございます。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
+
```ここに言語を入力
|
2
|
+
|
3
|
+
コード
|
4
|
+
|
1
|
-
### 前提・実現したいこと
|
5
|
+
```### 前提・実現したいこと
|
2
6
|
|
3
7
|
|
4
8
|
|
@@ -30,7 +34,7 @@
|
|
30
34
|
|
31
35
|
HTML, javaScript
|
32
36
|
|
33
|
-
|
37
|
+
```HTML, JavaScript
|
34
38
|
|
35
39
|
<body>
|
36
40
|
|
@@ -158,219 +162,241 @@
|
|
158
162
|
|
159
163
|
</div>
|
160
164
|
|
165
|
+
<!-- 中央のマーク -->
|
166
|
+
|
167
|
+
<div id="centerLogo">
|
168
|
+
|
169
|
+
<a href="#"> <img src="./img/centermark.svg" alt=""> </a>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<!-- 中央のマーク -->
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<div class="rightDown">
|
178
|
+
|
179
|
+
<a href="#">
|
180
|
+
|
181
|
+
<p>
|
182
|
+
|
183
|
+
Summer Season
|
184
|
+
|
185
|
+
</p>
|
186
|
+
|
187
|
+
</a>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<div class="centerDown">
|
194
|
+
|
195
|
+
<a href="#"> <p>SCROLL</p> </a>
|
196
|
+
|
197
|
+
<a href="#"> <img src="./img/triangle.svg" alt=""> </a>
|
198
|
+
|
199
|
+
</div>
|
200
|
+
|
201
|
+
|
202
|
+
|
161
203
|
</header>
|
162
204
|
|
163
205
|
|
164
206
|
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
<div id="silver">
|
212
|
+
|
213
|
+
<div id="second">
|
214
|
+
|
215
|
+
<section id="information">
|
216
|
+
|
217
|
+
<a href="#">
|
218
|
+
|
219
|
+
<h5>INFORMATON</h5>
|
220
|
+
|
221
|
+
<figure>
|
222
|
+
|
223
|
+
<img src="./img/arrow_black.svg" alt="" class="blackArrow01">
|
224
|
+
|
225
|
+
</figure>
|
226
|
+
|
227
|
+
<p class="infoMore">MORE</p>
|
228
|
+
|
229
|
+
</a>
|
230
|
+
|
231
|
+
<ul>
|
232
|
+
|
233
|
+
<li>
|
234
|
+
|
235
|
+
<p>
|
236
|
+
|
237
|
+
08.20.2019
|
238
|
+
|
239
|
+
<a href="#">2019-2020 Winter season 予約について </a>
|
240
|
+
|
241
|
+
</p>
|
242
|
+
|
243
|
+
</li>
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<li>
|
248
|
+
|
249
|
+
<p>
|
250
|
+
|
251
|
+
01.30.2019
|
252
|
+
|
253
|
+
<a href="#"> 夏季合宿について</a>
|
254
|
+
|
255
|
+
</p>
|
256
|
+
|
257
|
+
</li>
|
258
|
+
|
259
|
+
<li>
|
260
|
+
|
261
|
+
<p>
|
262
|
+
|
263
|
+
08.20.2018
|
264
|
+
|
265
|
+
<a href="#"> 2018年-2019年冬季スタッフ募集 </a>
|
266
|
+
|
267
|
+
</p>
|
268
|
+
|
269
|
+
</li>
|
270
|
+
|
271
|
+
</ul>
|
272
|
+
|
273
|
+
|
274
|
+
|
165
|
-
|
275
|
+
</section>
|
276
|
+
|
277
|
+
|
278
|
+
|
166
|
-
|
279
|
+
<section id="instagram">
|
280
|
+
|
281
|
+
<a href="#">
|
282
|
+
|
283
|
+
<h5>INSTAGRAM</h5>
|
284
|
+
|
285
|
+
<figure>
|
286
|
+
|
287
|
+
<img src="./img/arrow_black.svg" alt="" class="blackArrow02">
|
288
|
+
|
289
|
+
</figure>
|
290
|
+
|
291
|
+
<p class="instaMore">MORE</p>
|
292
|
+
|
293
|
+
</a>
|
294
|
+
|
167
|
-
<div id="
|
295
|
+
<div id="instaPhoto">
|
296
|
+
|
168
|
-
|
297
|
+
<ul>
|
298
|
+
|
299
|
+
<li> <a href="#">
|
300
|
+
|
301
|
+
<figure>
|
302
|
+
|
303
|
+
<img src="./img/insta01.jpg" alt="">
|
304
|
+
|
305
|
+
</figure>
|
306
|
+
|
307
|
+
</a> </li>
|
308
|
+
|
309
|
+
<li> <a href="#">
|
310
|
+
|
311
|
+
<figure>
|
312
|
+
|
313
|
+
<img src="./img/insta02.jpg" alt="">
|
314
|
+
|
315
|
+
</figure>
|
316
|
+
|
317
|
+
</a> </li>
|
318
|
+
|
319
|
+
<li> <a href="#">
|
320
|
+
|
321
|
+
<figure>
|
322
|
+
|
323
|
+
<img src="./img/insta03.jpg" alt="">
|
324
|
+
|
325
|
+
</figure>
|
326
|
+
|
327
|
+
</a> </li>
|
328
|
+
|
329
|
+
<li> <a href="#">
|
330
|
+
|
331
|
+
<figure>
|
332
|
+
|
333
|
+
<img src="./img/insta04.jpg" alt="">
|
334
|
+
|
335
|
+
</figure>
|
336
|
+
|
337
|
+
</a> </li>
|
338
|
+
|
339
|
+
<li> <a href="#">
|
340
|
+
|
341
|
+
<figure>
|
342
|
+
|
343
|
+
<img src="./img/insta05.jpg" alt="">
|
344
|
+
|
345
|
+
</figure>
|
346
|
+
|
347
|
+
</a> </li>
|
348
|
+
|
349
|
+
<li> <a href="#">
|
350
|
+
|
351
|
+
<figure>
|
352
|
+
|
353
|
+
<img src="./img/insta06.jpg" alt="">
|
354
|
+
|
355
|
+
</figure>
|
356
|
+
|
357
|
+
</a> </li>
|
358
|
+
|
359
|
+
</ul>
|
360
|
+
|
361
|
+
</div>
|
362
|
+
|
363
|
+
</section>
|
364
|
+
|
365
|
+
</div>
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
<section id="third">
|
370
|
+
|
169
|
-
<a href="#"> <img src="./img/
|
371
|
+
<a href="#"> <img src="./img/staff01.jpg" alt=""> </a>
|
372
|
+
|
373
|
+
</section>
|
170
374
|
|
171
375
|
</div>
|
172
376
|
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
<a href="#"> <img src="./img/triangle.svg" alt=""> </a>
|
198
|
-
|
199
|
-
</div>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
<div id="silver">
|
204
|
-
|
205
|
-
<div id="second">
|
206
|
-
|
207
|
-
<section id="information">
|
208
|
-
|
209
|
-
<a href="#">
|
210
|
-
|
211
|
-
<h5>INFORMATON</h5>
|
212
|
-
|
213
|
-
<figure>
|
214
|
-
|
215
|
-
<img src="./img/arrow_black.svg" alt="" class="blackArrow01">
|
216
|
-
|
217
|
-
</figure>
|
218
|
-
|
219
|
-
<p class="infoMore">MORE</p>
|
220
|
-
|
221
|
-
</a>
|
222
|
-
|
223
|
-
<ul>
|
224
|
-
|
225
|
-
<li>
|
226
|
-
|
227
|
-
<p>
|
228
|
-
|
229
|
-
08.20.2019
|
230
|
-
|
231
|
-
<a href="#">2019-2020 Winter season 予約について </a>
|
232
|
-
|
233
|
-
</p>
|
234
|
-
|
235
|
-
</li>
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
<li>
|
240
|
-
|
241
|
-
<p>
|
242
|
-
|
243
|
-
01.30.2019
|
244
|
-
|
245
|
-
<a href="#"> 夏季合宿について</a>
|
246
|
-
|
247
|
-
</p>
|
248
|
-
|
249
|
-
</li>
|
250
|
-
|
251
|
-
<li>
|
252
|
-
|
253
|
-
<p>
|
254
|
-
|
255
|
-
08.20.2018
|
256
|
-
|
257
|
-
<a href="#"> 2018年-2019年冬季スタッフ募集 </a>
|
258
|
-
|
259
|
-
</p>
|
260
|
-
|
261
|
-
</li>
|
262
|
-
|
263
|
-
</ul>
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
</section>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<section id="instagram">
|
272
|
-
|
273
|
-
<a href="#">
|
274
|
-
|
275
|
-
<h5>INSTAGRAM</h5>
|
276
|
-
|
277
|
-
<figure>
|
278
|
-
|
279
|
-
<img src="./img/arrow_black.svg" alt="" class="blackArrow02">
|
280
|
-
|
281
|
-
</figure>
|
282
|
-
|
283
|
-
<p class="instaMore">MORE</p>
|
284
|
-
|
285
|
-
</a>
|
286
|
-
|
287
|
-
<div id="instaPhoto">
|
288
|
-
|
289
|
-
<ul>
|
290
|
-
|
291
|
-
<li> <a href="#">
|
292
|
-
|
293
|
-
<figure>
|
294
|
-
|
295
|
-
<img src="./img/insta01.jpg" alt="">
|
296
|
-
|
297
|
-
</figure>
|
298
|
-
|
299
|
-
</a> </li>
|
300
|
-
|
301
|
-
<li> <a href="#">
|
302
|
-
|
303
|
-
<figure>
|
304
|
-
|
305
|
-
<img src="./img/insta02.jpg" alt="">
|
306
|
-
|
307
|
-
</figure>
|
308
|
-
|
309
|
-
</a> </li>
|
310
|
-
|
311
|
-
<li> <a href="#">
|
312
|
-
|
313
|
-
<figure>
|
314
|
-
|
315
|
-
<img src="./img/insta03.jpg" alt="">
|
316
|
-
|
317
|
-
</figure>
|
318
|
-
|
319
|
-
</a> </li>
|
320
|
-
|
321
|
-
<li> <a href="#">
|
322
|
-
|
323
|
-
<figure>
|
324
|
-
|
325
|
-
<img src="./img/insta04.jpg" alt="">
|
326
|
-
|
327
|
-
</figure>
|
328
|
-
|
329
|
-
</a> </li>
|
330
|
-
|
331
|
-
<li> <a href="#">
|
332
|
-
|
333
|
-
<figure>
|
334
|
-
|
335
|
-
<img src="./img/insta05.jpg" alt="">
|
336
|
-
|
337
|
-
</figure>
|
338
|
-
|
339
|
-
</a> </li>
|
340
|
-
|
341
|
-
<li> <a href="#">
|
342
|
-
|
343
|
-
<figure>
|
344
|
-
|
345
|
-
<img src="./img/insta06.jpg" alt="">
|
346
|
-
|
347
|
-
</figure>
|
348
|
-
|
349
|
-
</a> </li>
|
350
|
-
|
351
|
-
</ul>
|
352
|
-
|
353
|
-
</div>
|
354
|
-
|
355
|
-
</section>
|
356
|
-
|
357
|
-
</div>
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
<section id="third">
|
362
|
-
|
363
|
-
<a href="#"> <img src="./img/staff01.jpg" alt=""> </a>
|
364
|
-
|
365
|
-
</section>
|
366
|
-
|
367
|
-
</div>
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
CSS
|
372
|
-
|
373
|
-
|
377
|
+
|
378
|
+
|
379
|
+
```
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
```CSS
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
header {
|
388
|
+
|
389
|
+
position: relative;
|
390
|
+
|
391
|
+
}
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
a {
|
396
|
+
|
397
|
+
text-decoration: none;
|
398
|
+
|
399
|
+
}
|
374
400
|
|
375
401
|
#header-nav #mark{
|
376
402
|
|
@@ -612,94 +638,96 @@
|
|
612
638
|
|
613
639
|
/* 画像の高さに合わせて記述 */
|
614
640
|
|
641
|
+
width: 1263px;
|
642
|
+
|
643
|
+
height: auto;
|
644
|
+
|
645
|
+
}
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
#slideshow img {
|
650
|
+
|
651
|
+
position: absolute;
|
652
|
+
|
653
|
+
top: 0;
|
654
|
+
|
655
|
+
left:0;
|
656
|
+
|
657
|
+
z-index: 8;
|
658
|
+
|
659
|
+
opacity: 0.0;
|
660
|
+
|
661
|
+
width: 100%;
|
662
|
+
|
663
|
+
}
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
#slideshow img.active {
|
668
|
+
|
669
|
+
z-index: 10;
|
670
|
+
|
671
|
+
opacity: 1.0;
|
672
|
+
|
673
|
+
}
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
#slideshow img.last-active {
|
678
|
+
|
679
|
+
z-index: 9;
|
680
|
+
|
681
|
+
}
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
/* コピーしたやつ */
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
/* <!-- 中央のマーク --> */
|
690
|
+
|
691
|
+
#centerLogo img{
|
692
|
+
|
693
|
+
z-index: 999;
|
694
|
+
|
695
|
+
position: absolute;
|
696
|
+
|
697
|
+
top: 50%;
|
698
|
+
|
699
|
+
left: 50%;
|
700
|
+
|
701
|
+
-webkit-transform: translate(-50%, -50%);
|
702
|
+
|
703
|
+
transform: translate(-50%, -50%);
|
704
|
+
|
705
|
+
width: 40%;
|
706
|
+
|
707
|
+
height: 40%;
|
708
|
+
|
709
|
+
}
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
/* <!-- 中央のマーク --> */
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
#silver {
|
718
|
+
|
719
|
+
background-color: #EAEBED;
|
720
|
+
|
721
|
+
padding-bottom: 30px;
|
722
|
+
|
723
|
+
}
|
724
|
+
|
725
|
+
|
726
|
+
|
727
|
+
#second {
|
728
|
+
|
615
729
|
width: 100%;
|
616
730
|
|
617
|
-
height: auto;
|
618
|
-
|
619
|
-
}
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
#slideshow img {
|
624
|
-
|
625
|
-
position: absolute;
|
626
|
-
|
627
|
-
top: 0;
|
628
|
-
|
629
|
-
left:0;
|
630
|
-
|
631
|
-
z-index: 8;
|
632
|
-
|
633
|
-
opacity: 0.0;
|
634
|
-
|
635
|
-
}
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
#slideshow img.active {
|
640
|
-
|
641
|
-
z-index: 10;
|
642
|
-
|
643
|
-
opacity: 1.0;
|
644
|
-
|
645
|
-
}
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
#slideshow img.last-active {
|
650
|
-
|
651
|
-
z-index: 9;
|
652
|
-
|
653
|
-
}
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
/* コピーしたやつ */
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
/* <!-- 中央のマーク --> */
|
662
|
-
|
663
|
-
#centerLogo img{
|
664
|
-
|
665
|
-
z-index: 999;
|
666
|
-
|
667
|
-
position: absolute;
|
668
|
-
|
669
|
-
top: 50%;
|
670
|
-
|
671
|
-
left: 50%;
|
672
|
-
|
673
|
-
-webkit-transform: translate(-50%, -50%);
|
674
|
-
|
675
|
-
transform: translate(-50%, -50%);
|
676
|
-
|
677
|
-
width: 40%;
|
678
|
-
|
679
|
-
height: 40%;
|
680
|
-
|
681
|
-
}
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
/* <!-- 中央のマーク --> */
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
#silver {
|
690
|
-
|
691
|
-
background-color: #EAEBED;
|
692
|
-
|
693
|
-
padding-bottom: 30px;
|
694
|
-
|
695
|
-
}
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
#second {
|
700
|
-
|
701
|
-
width: 100%;
|
702
|
-
|
703
731
|
}
|
704
732
|
|
705
733
|
|
@@ -856,6 +884,18 @@
|
|
856
884
|
|
857
885
|
|
858
886
|
|
887
|
+
|
888
|
+
|
889
|
+
#third img {
|
890
|
+
|
891
|
+
margin-top: 200px;
|
892
|
+
|
893
|
+
}
|
894
|
+
|
895
|
+
|
896
|
+
|
897
|
+
|
898
|
+
|
859
899
|
/* staff */
|
860
900
|
|
861
901
|
#third {
|
@@ -866,24 +906,22 @@
|
|
866
906
|
|
867
907
|
|
868
908
|
|
869
|
-
#third img {
|
870
|
-
|
871
|
-
margin-top: 200px;
|
872
|
-
|
873
|
-
}
|
874
|
-
|
875
909
|
|
876
910
|
|
877
911
|
/* staff */
|
878
912
|
|
879
913
|
|
880
914
|
|
881
|
-
|
882
|
-
|
883
915
|
```
|
884
916
|
|
885
917
|
|
886
918
|
|
919
|
+
|
920
|
+
|
921
|
+
```
|
922
|
+
|
923
|
+
|
924
|
+
|
887
925
|
### 試したこと
|
888
926
|
|
889
927
|
position: relative;
|