質問編集履歴
2
CSS追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -180,249 +180,221 @@
|
|
180
180
|
|
181
181
|
|
182
182
|
|
183
|
+
|
184
|
+
|
183
|
-
<!--
|
185
|
+
<!-- Welcome Section -->
|
184
|
-
|
186
|
+
|
185
|
-
<div class="container-fluid">
|
187
|
+
<div class="container-fluid padding">
|
188
|
+
|
186
|
-
|
189
|
+
<div class="row welcome text-center">
|
190
|
+
|
191
|
+
<div class="col-12">
|
192
|
+
|
193
|
+
<h1 class="display-4">Built with ease</h1>
|
194
|
+
|
195
|
+
</div>
|
196
|
+
|
197
|
+
<hr>
|
198
|
+
|
199
|
+
<div class="col-12">
|
200
|
+
|
201
|
+
<p class="lead">welcome to my Bootstrap 4 Website tutorial!
|
202
|
+
|
203
|
+
Bootstrap is a free and open-source front-end library with HTML and
|
204
|
+
|
205
|
+
CSS based designs.
|
206
|
+
|
207
|
+
</p>
|
208
|
+
|
209
|
+
</div>
|
210
|
+
|
211
|
+
</div>
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
<!-- Three Column Section -->
|
218
|
+
|
219
|
+
<div class="container-fluid padding">
|
220
|
+
|
221
|
+
<div class="row text center padding">
|
222
|
+
|
223
|
+
<div class="col-xs-12 col-sm-6 col-md-4">
|
224
|
+
|
225
|
+
<i class="fas fa-code"></i>
|
226
|
+
|
227
|
+
<h3>HTML5</h3>
|
228
|
+
|
229
|
+
<p>Built with the latest version of HTML,HTML5.</p>
|
230
|
+
|
231
|
+
</div>
|
232
|
+
|
233
|
+
<div class="col-xs-12 col-sm-6 col-md-4">
|
234
|
+
|
235
|
+
<i class="fas fa-bold"></i>
|
236
|
+
|
237
|
+
<h3>Bootstrap</h3>
|
238
|
+
|
239
|
+
<p>Built with the latest version of Bootstrap,Bootstrap 4.</p>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
<div class="col-sm-12 col-md-4">
|
244
|
+
|
245
|
+
<i class="fab fa-css3"></i>
|
246
|
+
|
247
|
+
<h3>CSS3</h3>
|
248
|
+
|
249
|
+
<p>Built with the latest version of CSS,CSS3.</p>
|
250
|
+
|
251
|
+
</div>
|
252
|
+
|
253
|
+
</div>
|
254
|
+
|
255
|
+
<hr class="my-4">
|
256
|
+
|
257
|
+
</div>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
<!-- Emoji section -->
|
264
|
+
|
265
|
+
<button class="fun" data-toggle="collapse" data-target="#emoji">click for fun
|
266
|
+
|
267
|
+
</button>
|
268
|
+
|
269
|
+
<div id="emoji" class="collapse">
|
270
|
+
|
271
|
+
<div class="container-fluid padding">
|
272
|
+
|
273
|
+
<div class="row text-center">
|
274
|
+
|
275
|
+
<div class="col-sm-6 col-md-3">
|
276
|
+
|
277
|
+
<img class="gif" src="img/gif/panda.gif">
|
278
|
+
|
279
|
+
</div>
|
280
|
+
|
281
|
+
div class="col-sm-6 col-md-3">
|
282
|
+
|
283
|
+
<img class="gif" src="img/gif/poo.gif">
|
284
|
+
|
285
|
+
</div>
|
286
|
+
|
287
|
+
div class="col-sm-6 col-md-3">
|
288
|
+
|
289
|
+
<img class="gif" src="img/gif/unicorn.gif">
|
290
|
+
|
291
|
+
</div>
|
292
|
+
|
293
|
+
div class="col-sm-6 col-md-3">
|
294
|
+
|
295
|
+
<img class="gif" src="img/gif/chicken.gif">
|
296
|
+
|
297
|
+
</div>
|
298
|
+
|
299
|
+
</div>
|
300
|
+
|
301
|
+
</div>
|
302
|
+
|
303
|
+
</div>
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
<!-- Meet the team -->
|
308
|
+
|
309
|
+
<div class="container-fluid padding">
|
310
|
+
|
311
|
+
<div class="row welcome text-center">
|
312
|
+
|
313
|
+
<div class="col-12">
|
314
|
+
|
315
|
+
<h1 class="display-4">Meet the Team</h1>
|
316
|
+
|
317
|
+
</div>
|
318
|
+
|
319
|
+
<hr>
|
320
|
+
|
321
|
+
</div>
|
322
|
+
|
323
|
+
</div>
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
<!-- Card -->
|
328
|
+
|
329
|
+
<div class="container-fluid padding">
|
330
|
+
|
187
|
-
|
331
|
+
<div class="row padding">
|
332
|
+
|
188
|
-
|
333
|
+
<div class="col-mg-4">
|
334
|
+
|
335
|
+
<div class="card">
|
336
|
+
|
189
|
-
<
|
337
|
+
<img class="card-image-top" src="img/team1.png">
|
338
|
+
|
190
|
-
|
339
|
+
<div class="card-body">
|
340
|
+
|
341
|
+
<h4 class="card-title">John Doe</h4>
|
342
|
+
|
191
|
-
<p class="
|
343
|
+
<p class="card-text">John is an Internet entrepreneur with
|
192
|
-
|
344
|
+
|
193
|
-
|
345
|
+
almost 20 years of experience.
|
194
|
-
|
346
|
+
|
195
|
-
|
347
|
+
</p>
|
348
|
+
|
349
|
+
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
350
|
+
|
351
|
+
</div>
|
196
352
|
|
197
353
|
</div>
|
198
354
|
|
355
|
+
</div>
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
<div class="col-mg-4">
|
360
|
+
|
361
|
+
<div class="card">
|
362
|
+
|
199
|
-
<
|
363
|
+
<img class="card-image-top" src="img/team2.png">
|
364
|
+
|
200
|
-
|
365
|
+
<div class="card-body">
|
366
|
+
|
367
|
+
<h4 class="card-title">Mary Jo</h4>
|
368
|
+
|
369
|
+
<p class="card-text">Mary is a designer with almost 10 years
|
370
|
+
|
371
|
+
of digital design experience.
|
372
|
+
|
373
|
+
</p>
|
374
|
+
|
201
|
-
<a href="#"
|
375
|
+
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
202
|
-
|
376
|
+
|
203
|
-
|
377
|
+
</div>
|
204
378
|
|
205
379
|
</div>
|
206
380
|
|
207
381
|
</div>
|
208
382
|
|
209
|
-
|
383
|
+
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
<!-- Welcome Section -->
|
214
|
-
|
215
|
-
<div class="container-fluid padding">
|
216
|
-
|
217
|
-
<div class="row welcome text-center">
|
218
|
-
|
219
|
-
<div class="col-12">
|
220
|
-
|
221
|
-
<h1 class="display-4">Built with ease</h1>
|
222
|
-
|
223
|
-
</div>
|
224
|
-
|
225
|
-
<hr>
|
226
|
-
|
227
|
-
<div class="col-12">
|
228
|
-
|
229
|
-
<p class="lead">welcome to my Bootstrap 4 Website tutorial!
|
230
|
-
|
231
|
-
Bootstrap is a free and open-source front-end library with HTML and
|
232
|
-
|
233
|
-
CSS based designs.
|
234
|
-
|
235
|
-
</p>
|
236
|
-
|
237
|
-
</div>
|
238
|
-
|
239
|
-
</div>
|
240
|
-
|
241
|
-
</div>
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
<!-- Three Column Section -->
|
246
|
-
|
247
|
-
<div class="container-fluid padding">
|
248
|
-
|
249
|
-
<div class="row text center padding">
|
250
|
-
|
251
|
-
<div class="col-xs-12 col-sm-6 col-md-4">
|
252
|
-
|
253
|
-
<i class="fas fa-code"></i>
|
254
|
-
|
255
|
-
<h3>HTML5</h3>
|
256
|
-
|
257
|
-
<p>Built with the latest version of HTML,HTML5.</p>
|
258
|
-
|
259
|
-
</div>
|
260
|
-
|
261
|
-
<div class="col-xs-12 col-sm-6 col-md-4">
|
262
|
-
|
263
|
-
<i class="fas fa-bold"></i>
|
264
|
-
|
265
|
-
<h3>Bootstrap</h3>
|
266
|
-
|
267
|
-
<p>Built with the latest version of Bootstrap,Bootstrap 4.</p>
|
268
|
-
|
269
|
-
</div>
|
270
|
-
|
271
|
-
<div class="col-sm-12 col-md-4">
|
272
|
-
|
273
|
-
<i class="fab fa-css3"></i>
|
274
|
-
|
275
|
-
<h3>CSS3</h3>
|
276
|
-
|
277
|
-
<p>Built with the latest version of CSS,CSS3.</p>
|
278
|
-
|
279
|
-
</div>
|
280
|
-
|
281
|
-
</div>
|
282
|
-
|
283
|
-
<hr class="my-4">
|
284
|
-
|
285
|
-
</div>
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
<!-- Two Column Section -->
|
290
|
-
|
291
|
-
<div class="row padding">
|
292
|
-
|
293
|
-
<div class="col-md-12 col-lg-6">
|
294
|
-
|
295
|
-
<h2>If you built it...</h2>
|
296
|
-
|
297
|
-
<p>The columns will automatically stack on top of each other when
|
298
|
-
|
299
|
-
the screen is less than 576px wide.</p>
|
300
|
-
|
301
|
-
<p>Resize the browser window to see the effect.Responsive web
|
302
|
-
|
303
|
-
design has become more important as the amount of mobile traffic now
|
304
|
-
|
305
|
-
accounts for more than half of total internet traffic.</p>
|
306
|
-
|
307
|
-
<p>It can also display the web page differently depending on the
|
308
|
-
|
309
|
-
screen size or viewing device.</p>
|
310
|
-
|
311
|
-
<br>
|
312
|
-
|
313
|
-
<a href="#" class="btn btn-primary">Learn More</a>
|
314
|
-
|
315
|
-
</div>
|
316
|
-
|
317
|
-
<div class="col-lg-6">
|
318
|
-
|
319
|
-
<img src="img/desk.png" class="img-fluid">
|
320
|
-
|
321
|
-
</div>
|
322
|
-
|
323
|
-
</div>
|
324
|
-
|
325
|
-
<hr class="my-4">
|
326
|
-
|
327
|
-
<!-- Fixed background -->
|
328
|
-
|
329
|
-
<figure>
|
330
|
-
|
331
|
-
<div class="fixed-wrap">
|
332
|
-
|
333
|
-
<div id="fixed"></div>
|
334
|
-
|
335
|
-
</div>
|
336
|
-
|
337
|
-
</figure>
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
<!-- Emoji section -->
|
342
|
-
|
343
|
-
<button class="fun" data-toggle="collapse" data-target="#emoji">click for fun
|
344
|
-
|
345
|
-
</button>
|
346
|
-
|
347
|
-
<div id="emoji" class="collapse">
|
348
|
-
|
349
|
-
<div class="container-fluid padding">
|
350
|
-
|
351
|
-
<div class="row text-center">
|
352
|
-
|
353
|
-
<div class="col-sm-6 col-md-3">
|
354
|
-
|
355
|
-
<img class="gif" src="img/gif/panda.gif">
|
356
|
-
|
357
|
-
</div>
|
358
|
-
|
359
|
-
div class="col-sm-6 col-md-3">
|
360
|
-
|
361
|
-
<img class="gif" src="img/gif/poo.gif">
|
362
|
-
|
363
|
-
</div>
|
364
|
-
|
365
|
-
div class="col-sm-6 col-md-3">
|
366
|
-
|
367
|
-
<img class="gif" src="img/gif/unicorn.gif">
|
368
|
-
|
369
|
-
</div>
|
370
|
-
|
371
|
-
div class="col-sm-6 col-md-3">
|
372
|
-
|
373
|
-
<img class="gif" src="img/gif/chicken.gif">
|
374
|
-
|
375
|
-
</div>
|
376
|
-
|
377
|
-
</div>
|
378
|
-
|
379
|
-
</div>
|
380
|
-
|
381
|
-
</div>
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
<!-- Meet the team -->
|
386
|
-
|
387
|
-
<div class="container-fluid padding">
|
388
|
-
|
389
|
-
<div class="row welcome text-center">
|
390
|
-
|
391
|
-
<div class="col-12">
|
392
|
-
|
393
|
-
<h1 class="display-4">Meet the Team</h1>
|
394
|
-
|
395
|
-
</div>
|
396
|
-
|
397
|
-
<hr>
|
398
|
-
|
399
|
-
</div>
|
400
|
-
|
401
|
-
</div>
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
<!-- Card -->
|
406
|
-
|
407
|
-
<div class="container-fluid padding">
|
408
|
-
|
409
|
-
<div class="row padding">
|
410
384
|
|
411
385
|
<div class="col-mg-4">
|
412
386
|
|
413
387
|
<div class="card">
|
414
388
|
|
415
|
-
<img class="card-image-top" src="img/team
|
389
|
+
<img class="card-image-top" src="img/team3.png">
|
416
390
|
|
417
391
|
<div class="card-body">
|
418
392
|
|
419
|
-
<h4 class="card-title">
|
393
|
+
<h4 class="card-title">Phil Ho</h4>
|
420
|
-
|
394
|
+
|
421
|
-
<p class="card-text">
|
395
|
+
<p class="card-text">Phil is a developer with over 5years
|
422
|
-
|
396
|
+
|
423
|
-
|
397
|
+
od web development experience.</p>
|
424
|
-
|
425
|
-
</p>
|
426
398
|
|
427
399
|
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
428
400
|
|
@@ -432,56 +404,6 @@
|
|
432
404
|
|
433
405
|
</div>
|
434
406
|
|
435
|
-
|
436
|
-
|
437
|
-
<div class="col-mg-4">
|
438
|
-
|
439
|
-
<div class="card">
|
440
|
-
|
441
|
-
<img class="card-image-top" src="img/team2.png">
|
442
|
-
|
443
|
-
<div class="card-body">
|
444
|
-
|
445
|
-
<h4 class="card-title">Mary Jo</h4>
|
446
|
-
|
447
|
-
<p class="card-text">Mary is a designer with almost 10 years
|
448
|
-
|
449
|
-
of digital design experience.
|
450
|
-
|
451
|
-
</p>
|
452
|
-
|
453
|
-
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
454
|
-
|
455
|
-
</div>
|
456
|
-
|
457
|
-
</div>
|
458
|
-
|
459
|
-
</div>
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
<div class="col-mg-4">
|
464
|
-
|
465
|
-
<div class="card">
|
466
|
-
|
467
|
-
<img class="card-image-top" src="img/team3.png">
|
468
|
-
|
469
|
-
<div class="card-body">
|
470
|
-
|
471
|
-
<h4 class="card-title">Phil Ho</h4>
|
472
|
-
|
473
|
-
<p class="card-text">Phil is a developer with over 5years
|
474
|
-
|
475
|
-
od web development experience.</p>
|
476
|
-
|
477
|
-
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
478
|
-
|
479
|
-
</div>
|
480
|
-
|
481
|
-
</div>
|
482
|
-
|
483
|
-
</div>
|
484
|
-
|
485
407
|
</div>
|
486
408
|
|
487
409
|
</div>
|
@@ -504,6 +426,246 @@
|
|
504
426
|
|
505
427
|
|
506
428
|
|
429
|
+
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
html,body {
|
434
|
+
|
435
|
+
height: 100%;
|
436
|
+
|
437
|
+
width: 100%;
|
438
|
+
|
439
|
+
font-family: 'Poppins' ,sans-serif;
|
440
|
+
|
441
|
+
color:#222;
|
442
|
+
|
443
|
+
background-color:blue;
|
444
|
+
|
445
|
+
}
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
navbar {
|
450
|
+
|
451
|
+
padding: .8rem;
|
452
|
+
|
453
|
+
}
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
.navbar-nav li{
|
458
|
+
|
459
|
+
padding-right: 20px;
|
460
|
+
|
461
|
+
}
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
.nav-link{
|
466
|
+
|
467
|
+
font-size: 1.1rem !important;
|
468
|
+
|
469
|
+
}
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
.carousel-inner img{
|
474
|
+
|
475
|
+
width: 100%;
|
476
|
+
|
477
|
+
height: 100%;
|
478
|
+
|
479
|
+
}
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
carousel-caption{
|
484
|
+
|
485
|
+
position: absolute;
|
486
|
+
|
487
|
+
top: 50%;
|
488
|
+
|
489
|
+
transform: translateY(-50%);
|
490
|
+
|
491
|
+
}
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
/*---Media Queries --*/
|
506
|
+
|
507
|
+
@media (max-width: 992px) {
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
}
|
512
|
+
|
513
|
+
@media (max-width: 768px) {
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
}
|
518
|
+
|
519
|
+
@media (max-width: 576px) {
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
}
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
/*---Firefox Bug Fix --*/
|
530
|
+
|
531
|
+
.carousel-item {
|
532
|
+
|
533
|
+
transition: -webkit-transform 0.5s ease;
|
534
|
+
|
535
|
+
transition: transform 0.5s ease;
|
536
|
+
|
537
|
+
transition: transform 0.5s ease, -webkit-transform 0.5s ease;
|
538
|
+
|
539
|
+
-webkit-backface-visibility: visible;
|
540
|
+
|
541
|
+
backface-visibility: visible;
|
542
|
+
|
543
|
+
}
|
544
|
+
|
545
|
+
/*--- Fixed Background Image --*/
|
546
|
+
|
547
|
+
figure {
|
548
|
+
|
549
|
+
position: relative;
|
550
|
+
|
551
|
+
width: 100%;
|
552
|
+
|
553
|
+
height: 60%;
|
554
|
+
|
555
|
+
margin: 0!important;
|
556
|
+
|
557
|
+
}
|
558
|
+
|
559
|
+
.fixed-wrap {
|
560
|
+
|
561
|
+
clip: rect(0, auto, auto, 0);
|
562
|
+
|
563
|
+
position: absolute;
|
564
|
+
|
565
|
+
top: 0;
|
566
|
+
|
567
|
+
left: 0;
|
568
|
+
|
569
|
+
width: 100%;
|
570
|
+
|
571
|
+
height: 100%;
|
572
|
+
|
573
|
+
}
|
574
|
+
|
575
|
+
#fixed {
|
576
|
+
|
577
|
+
background-image: url('img/mac.png');
|
578
|
+
|
579
|
+
position: fixed;
|
580
|
+
|
581
|
+
display: block;
|
582
|
+
|
583
|
+
top: 0;
|
584
|
+
|
585
|
+
left: 0;
|
586
|
+
|
587
|
+
width: 100%;
|
588
|
+
|
589
|
+
height: 100%;
|
590
|
+
|
591
|
+
background-size: cover;
|
592
|
+
|
593
|
+
background-position: center center;
|
594
|
+
|
595
|
+
-webkit-transform: translateZ(0);
|
596
|
+
|
597
|
+
transform: translateZ(0);
|
598
|
+
|
599
|
+
will-change: transform;
|
600
|
+
|
601
|
+
}
|
602
|
+
|
603
|
+
/*--- Bootstrap Padding Fix --*/
|
604
|
+
|
605
|
+
[class*="col-"] {
|
606
|
+
|
607
|
+
padding: 1rem;
|
608
|
+
|
609
|
+
}
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
|
620
|
+
|
621
|
+
/*
|
622
|
+
|
623
|
+
Extra small (xs) devices (portrait phones, less than 576px)
|
624
|
+
|
625
|
+
No media query since this is the default in Bootstrap
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
Small (sm) devices (landscape phones, 576px and up)
|
630
|
+
|
631
|
+
@media (min-width: 576px) { ... }
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
Medium (md) devices (tablets, 768px and up)
|
636
|
+
|
637
|
+
@media (min-width: 768px) { ... }
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
Large (lg) devices (desktops, 992px and up)
|
642
|
+
|
643
|
+
@media (min-width: 992px) { ... }
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
Extra (xl) large devices (large desktops, 1200px and up)
|
648
|
+
|
649
|
+
@media (min-width: 1200px) { ... }
|
650
|
+
|
651
|
+
*/
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
|
668
|
+
|
507
669
|
|
508
670
|
|
509
671
|
```
|
1
コードを削減し文字数を減らした
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,12 +22,508 @@
|
|
22
22
|
|
23
23
|
```ここに言語名を入力html、css
|
24
24
|
|
25
|
-
|
25
|
+
<!DOCTYPE html>
|
26
|
+
|
26
|
-
|
27
|
+
<html lang="en">
|
28
|
+
|
27
|
-
|
29
|
+
<head>
|
30
|
+
|
31
|
+
<meta charset="utf-8">
|
32
|
+
|
33
|
+
<meta name="viewpoint" content="width=device-width", initial-scale=1>
|
34
|
+
|
35
|
+
<title>Complete Bootstrap 4 Website Layout</title>
|
36
|
+
|
37
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdm.com/Bootstrap/4.0.0/css/
|
38
|
+
|
39
|
+
bootstrap.min.css">
|
40
|
+
|
41
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">
|
42
|
+
|
43
|
+
</script>
|
44
|
+
|
45
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/
|
46
|
+
|
47
|
+
popper.min.js"></script>
|
48
|
+
|
49
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/
|
50
|
+
|
51
|
+
bootstrap.min.js"></script>
|
52
|
+
|
53
|
+
<script src="https://use.fontawesome.com/release/v5.0.8/js/all.js"></script>
|
54
|
+
|
55
|
+
<link rel="stylesheet" href="style.css">
|
56
|
+
|
57
|
+
</head>
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<body>
|
64
|
+
|
65
|
+
<nav class="navbar navbar-expand-md navbar-light bg-light sticky-top">
|
66
|
+
|
67
|
+
<div class="container-fluid">
|
68
|
+
|
69
|
+
<a href="#" class="navbar-brand"><img src="img/logo.png"></a>
|
70
|
+
|
71
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse"
|
72
|
+
|
73
|
+
data-target="#navbarResponsive">
|
74
|
+
|
75
|
+
<span class="navbar-toggler-icon"></span>
|
76
|
+
|
77
|
+
</button>
|
78
|
+
|
79
|
+
<div class="collapse navbar-collapse" id="navbarResponsive">
|
80
|
+
|
81
|
+
<ul class="navbar-nav ml-auto">
|
82
|
+
|
83
|
+
<li class="nav-item active">
|
84
|
+
|
85
|
+
<a class="nav-link" href="#">Home</a>
|
86
|
+
|
87
|
+
</li>
|
88
|
+
|
89
|
+
<li class="nav-item">
|
90
|
+
|
91
|
+
<a class="nav-link" href="#">About</a>
|
92
|
+
|
93
|
+
</li>
|
94
|
+
|
95
|
+
<li class="nav-item">
|
96
|
+
|
97
|
+
<a class="nav-link" href="#">Service</a>
|
98
|
+
|
99
|
+
</li>
|
100
|
+
|
101
|
+
<li class="nav-item">
|
102
|
+
|
103
|
+
<a class="nav-link" href="#">Team</a>
|
104
|
+
|
105
|
+
</li>
|
106
|
+
|
107
|
+
<li class="nav-item">
|
108
|
+
|
109
|
+
<a class="nav-link" href="#">Connect</a>
|
110
|
+
|
111
|
+
</li>
|
112
|
+
|
113
|
+
</ul>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
</div>
|
118
|
+
|
119
|
+
</nav>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<!-- Image Slider -->
|
124
|
+
|
125
|
+
<div id="slides" class="carousel slide" data-ride="carousel">
|
126
|
+
|
127
|
+
<ul class="carousel-indicators">
|
128
|
+
|
129
|
+
<li data-target="#slides" data-slide-to="0" class="active"></li>
|
130
|
+
|
131
|
+
<li data-target="#slides" data-slide-to="1"></li>
|
132
|
+
|
133
|
+
<li data-target="#slides" data-slide-to="2"></li>
|
134
|
+
|
135
|
+
</ul>
|
136
|
+
|
137
|
+
<div class="carousel-inner">
|
138
|
+
|
139
|
+
<div class="carousel-item active">
|
140
|
+
|
141
|
+
<img src="img/background.png">
|
142
|
+
|
143
|
+
<div class="carousel-caption">
|
144
|
+
|
145
|
+
<h1 class="display-2">Bootstrap</h1>
|
146
|
+
|
147
|
+
<h3>Complete Website layout</h3>
|
148
|
+
|
149
|
+
<button type="button" class="btn btn-outline-light btn-lg">VIEWDEMO
|
150
|
+
|
151
|
+
</button>
|
152
|
+
|
153
|
+
<button type="button" class="btn btn-primary btn-lg">Get Started
|
154
|
+
|
155
|
+
</button>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div class="carousel-item">
|
166
|
+
|
167
|
+
<img src="img/background2.png">
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
<div class="carousel-item">
|
172
|
+
|
173
|
+
<img src="img/background3.png">
|
174
|
+
|
175
|
+
</div>
|
176
|
+
|
177
|
+
</div>
|
178
|
+
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
<!-- Jumbtron -->
|
184
|
+
|
185
|
+
<div class="container-fluid">
|
186
|
+
|
187
|
+
<div class="row jumbotron">
|
188
|
+
|
189
|
+
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9 col-xl-10">
|
190
|
+
|
191
|
+
<p class="lead">A web hosting service allows individuals and
|
192
|
+
|
193
|
+
organizations to make their website accessible via the World Wide
|
194
|
+
|
195
|
+
Web. </p>
|
196
|
+
|
197
|
+
</div>
|
198
|
+
|
199
|
+
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3 col-xl-2">
|
200
|
+
|
201
|
+
<a href="#"><button type="button" class="btn btn-outline-secondary
|
202
|
+
|
203
|
+
btn-lg">Web Hosting</button></a>
|
204
|
+
|
205
|
+
</div>
|
206
|
+
|
207
|
+
</div>
|
208
|
+
|
209
|
+
</div>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
<!-- Welcome Section -->
|
214
|
+
|
215
|
+
<div class="container-fluid padding">
|
216
|
+
|
217
|
+
<div class="row welcome text-center">
|
218
|
+
|
219
|
+
<div class="col-12">
|
220
|
+
|
221
|
+
<h1 class="display-4">Built with ease</h1>
|
222
|
+
|
223
|
+
</div>
|
224
|
+
|
225
|
+
<hr>
|
226
|
+
|
227
|
+
<div class="col-12">
|
228
|
+
|
229
|
+
<p class="lead">welcome to my Bootstrap 4 Website tutorial!
|
230
|
+
|
231
|
+
Bootstrap is a free and open-source front-end library with HTML and
|
232
|
+
|
233
|
+
CSS based designs.
|
234
|
+
|
235
|
+
</p>
|
236
|
+
|
237
|
+
</div>
|
238
|
+
|
239
|
+
</div>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
<!-- Three Column Section -->
|
246
|
+
|
247
|
+
<div class="container-fluid padding">
|
248
|
+
|
249
|
+
<div class="row text center padding">
|
250
|
+
|
251
|
+
<div class="col-xs-12 col-sm-6 col-md-4">
|
252
|
+
|
253
|
+
<i class="fas fa-code"></i>
|
254
|
+
|
255
|
+
<h3>HTML5</h3>
|
256
|
+
|
257
|
+
<p>Built with the latest version of HTML,HTML5.</p>
|
258
|
+
|
259
|
+
</div>
|
260
|
+
|
261
|
+
<div class="col-xs-12 col-sm-6 col-md-4">
|
262
|
+
|
263
|
+
<i class="fas fa-bold"></i>
|
264
|
+
|
265
|
+
<h3>Bootstrap</h3>
|
266
|
+
|
267
|
+
<p>Built with the latest version of Bootstrap,Bootstrap 4.</p>
|
268
|
+
|
269
|
+
</div>
|
270
|
+
|
271
|
+
<div class="col-sm-12 col-md-4">
|
272
|
+
|
273
|
+
<i class="fab fa-css3"></i>
|
274
|
+
|
275
|
+
<h3>CSS3</h3>
|
276
|
+
|
277
|
+
<p>Built with the latest version of CSS,CSS3.</p>
|
278
|
+
|
279
|
+
</div>
|
280
|
+
|
281
|
+
</div>
|
282
|
+
|
283
|
+
<hr class="my-4">
|
284
|
+
|
285
|
+
</div>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
<!-- Two Column Section -->
|
290
|
+
|
291
|
+
<div class="row padding">
|
292
|
+
|
293
|
+
<div class="col-md-12 col-lg-6">
|
294
|
+
|
295
|
+
<h2>If you built it...</h2>
|
296
|
+
|
297
|
+
<p>The columns will automatically stack on top of each other when
|
298
|
+
|
299
|
+
the screen is less than 576px wide.</p>
|
300
|
+
|
301
|
+
<p>Resize the browser window to see the effect.Responsive web
|
302
|
+
|
303
|
+
design has become more important as the amount of mobile traffic now
|
304
|
+
|
305
|
+
accounts for more than half of total internet traffic.</p>
|
306
|
+
|
307
|
+
<p>It can also display the web page differently depending on the
|
308
|
+
|
309
|
+
screen size or viewing device.</p>
|
310
|
+
|
311
|
+
<br>
|
312
|
+
|
313
|
+
<a href="#" class="btn btn-primary">Learn More</a>
|
314
|
+
|
315
|
+
</div>
|
316
|
+
|
317
|
+
<div class="col-lg-6">
|
318
|
+
|
319
|
+
<img src="img/desk.png" class="img-fluid">
|
320
|
+
|
321
|
+
</div>
|
322
|
+
|
323
|
+
</div>
|
324
|
+
|
325
|
+
<hr class="my-4">
|
326
|
+
|
327
|
+
<!-- Fixed background -->
|
328
|
+
|
329
|
+
<figure>
|
330
|
+
|
331
|
+
<div class="fixed-wrap">
|
332
|
+
|
333
|
+
<div id="fixed"></div>
|
334
|
+
|
335
|
+
</div>
|
336
|
+
|
337
|
+
</figure>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
<!-- Emoji section -->
|
342
|
+
|
343
|
+
<button class="fun" data-toggle="collapse" data-target="#emoji">click for fun
|
344
|
+
|
345
|
+
</button>
|
346
|
+
|
347
|
+
<div id="emoji" class="collapse">
|
348
|
+
|
349
|
+
<div class="container-fluid padding">
|
350
|
+
|
351
|
+
<div class="row text-center">
|
352
|
+
|
353
|
+
<div class="col-sm-6 col-md-3">
|
354
|
+
|
355
|
+
<img class="gif" src="img/gif/panda.gif">
|
356
|
+
|
357
|
+
</div>
|
358
|
+
|
359
|
+
div class="col-sm-6 col-md-3">
|
360
|
+
|
361
|
+
<img class="gif" src="img/gif/poo.gif">
|
362
|
+
|
363
|
+
</div>
|
364
|
+
|
365
|
+
div class="col-sm-6 col-md-3">
|
366
|
+
|
367
|
+
<img class="gif" src="img/gif/unicorn.gif">
|
368
|
+
|
369
|
+
</div>
|
370
|
+
|
371
|
+
div class="col-sm-6 col-md-3">
|
372
|
+
|
373
|
+
<img class="gif" src="img/gif/chicken.gif">
|
374
|
+
|
375
|
+
</div>
|
376
|
+
|
377
|
+
</div>
|
378
|
+
|
379
|
+
</div>
|
380
|
+
|
381
|
+
</div>
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
<!-- Meet the team -->
|
386
|
+
|
387
|
+
<div class="container-fluid padding">
|
388
|
+
|
389
|
+
<div class="row welcome text-center">
|
390
|
+
|
391
|
+
<div class="col-12">
|
392
|
+
|
393
|
+
<h1 class="display-4">Meet the Team</h1>
|
394
|
+
|
395
|
+
</div>
|
396
|
+
|
397
|
+
<hr>
|
398
|
+
|
399
|
+
</div>
|
400
|
+
|
401
|
+
</div>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
<!-- Card -->
|
406
|
+
|
407
|
+
<div class="container-fluid padding">
|
408
|
+
|
409
|
+
<div class="row padding">
|
410
|
+
|
411
|
+
<div class="col-mg-4">
|
412
|
+
|
413
|
+
<div class="card">
|
414
|
+
|
415
|
+
<img class="card-image-top" src="img/team1.png">
|
416
|
+
|
417
|
+
<div class="card-body">
|
418
|
+
|
419
|
+
<h4 class="card-title">John Doe</h4>
|
420
|
+
|
421
|
+
<p class="card-text">John is an Internet entrepreneur with
|
422
|
+
|
423
|
+
almost 20 years of experience.
|
424
|
+
|
425
|
+
</p>
|
426
|
+
|
427
|
+
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
428
|
+
|
429
|
+
</div>
|
430
|
+
|
431
|
+
</div>
|
432
|
+
|
433
|
+
</div>
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
<div class="col-mg-4">
|
438
|
+
|
439
|
+
<div class="card">
|
440
|
+
|
441
|
+
<img class="card-image-top" src="img/team2.png">
|
442
|
+
|
443
|
+
<div class="card-body">
|
444
|
+
|
445
|
+
<h4 class="card-title">Mary Jo</h4>
|
446
|
+
|
447
|
+
<p class="card-text">Mary is a designer with almost 10 years
|
448
|
+
|
449
|
+
of digital design experience.
|
450
|
+
|
451
|
+
</p>
|
452
|
+
|
453
|
+
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
454
|
+
|
455
|
+
</div>
|
456
|
+
|
457
|
+
</div>
|
458
|
+
|
459
|
+
</div>
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
<div class="col-mg-4">
|
464
|
+
|
465
|
+
<div class="card">
|
466
|
+
|
467
|
+
<img class="card-image-top" src="img/team3.png">
|
468
|
+
|
469
|
+
<div class="card-body">
|
470
|
+
|
471
|
+
<h4 class="card-title">Phil Ho</h4>
|
472
|
+
|
473
|
+
<p class="card-text">Phil is a developer with over 5years
|
474
|
+
|
475
|
+
od web development experience.</p>
|
476
|
+
|
477
|
+
<a href="#" class="btn btn-outline-secondary">See Profile</a>
|
478
|
+
|
479
|
+
</div>
|
480
|
+
|
481
|
+
</div>
|
482
|
+
|
483
|
+
</div>
|
484
|
+
|
485
|
+
</div>
|
486
|
+
|
487
|
+
</div>
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
</body>
|
494
|
+
|
495
|
+
</html>
|
496
|
+
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
```
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
### 試したこと
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
コードの見直し
|
28
526
|
|
29
527
|
### 補足情報(FW/ツールのバージョンなど)
|
30
528
|
|
31
|
-
エディター:VScode
|
32
|
-
|
33
529
|
Bootstrapの練習
|