-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfull-page-carousel.html
650 lines (612 loc) · 20.1 KB
/
full-page-carousel.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-video-carousel.min.css" />
</head>
<body>
<!-- Start your project here-->
<!--Main Navigation-->
<header>
<style>
/* Carousel styling */
#introCarousel,
.carousel-inner,
.carousel-item,
.carousel-item.active {
height: 100vh;
}
.carousel-item:nth-child(1) {
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
.carousel-item:nth-child(2) {
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
.carousel-item:nth-child(3) {
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
/* Height for devices larger than 576px */
@media (min-width: 992px) {
#introCarousel {
margin-top: -58.59px;
}
}
.navbar .nav-link {
color: #fff !important;
}
</style>
<!-- Navbar -->
<nav
class="navbar navbar-expand-lg navbar-dark d-none d-lg-block"
style="z-index: 2000"
>
<div class="container-fluid">
<!-- Navbar brand -->
<a
class="navbar-brand nav-link"
target="_blank"
href="https://mdbootstrap.com/docs/standard/"
>
<strong>MDB</strong>
</a>
<button
class="navbar-toggler"
type="button"
data-mdb-toggle="collapse"
data-mdb-target="#navbarExample01"
aria-controls="navbarExample01"
aria-expanded="false"
aria-label="Toggle navigation"
>
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarExample01">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item active">
<a class="nav-link" aria-current="page" href="#intro">Home</a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://www.youtube.com/channel/UC5CF7mLQZhvx8O5GODZAhdA"
rel="nofollow"
target="_blank"
>Learn Bootstrap 5</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://mdbootstrap.com/docs/standard/"
target="_blank"
>Download MDB UI KIT</a
>
</li>
</ul>
<ul class="navbar-nav list-inline">
<!-- Icons -->
<li class="">
<a
class="nav-link"
href="https://www.youtube.com/channel/UC5CF7mLQZhvx8O5GODZAhdA"
rel="nofollow"
target="_blank"
>
<i class="fab fa-youtube"></i>
</a>
</li>
<li class="">
<a
class="nav-link"
href="https://www.facebook.com/mdbootstrap"
rel="nofollow"
target="_blank"
>
<i class="fab fa-facebook-f"></i>
</a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://twitter.com/MDBootstrap"
rel="nofollow"
target="_blank"
>
<i class="fab fa-twitter"></i>
</a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://github.com/mdbootstrap/mdb-ui-kit"
rel="nofollow"
target="_blank"
>
<i class="fab fa-github"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Navbar -->
<!-- Carousel wrapper -->
<div
id="introCarousel"
class="carousel slide carousel-fade shadow-2-strong"
data-mdb-ride="carousel"
>
<!-- Indicators -->
<ol class="carousel-indicators">
<li
data-mdb-target="#introCarousel"
data-mdb-slide-to="0"
class="active"
></li>
<li data-mdb-target="#introCarousel" data-mdb-slide-to="1"></li>
<li data-mdb-target="#introCarousel" data-mdb-slide-to="2"></li>
</ol>
<!-- Inner -->
<div class="carousel-inner">
<!-- Single item -->
<div class="carousel-item active">
<video
style="min-width: 100%; min-height: 100%"
playsinline
autoplay
muted
loop
>
<source
class="h-100"
src="https://mdbootstrap.com/img/video/Lines.mp4"
type="video/mp4"
/>
</video>
<div class="mask" style="background-color: rgba(0, 0, 0, 0.6)">
<div
class="d-flex justify-content-center align-items-center h-100"
>
<div class="text-white text-center">
<h1 class="mb-3">Learn Bootstrap 5 with MDB</h1>
<h5 class="mb-4">
Best & free guide of responsive web design
</h5>
<a
class="btn btn-outline-light btn-lg m-2"
href="https://www.youtube.com/watch?v=c9B4TPnak1A"
role="button"
rel="nofollow"
target="_blank"
>Start tutorial</a
>
<a
class="btn btn-outline-light btn-lg m-2"
href="https://mdbootstrap.com/docs/standard/"
target="_blank"
role="button"
>Download MDB UI KIT</a
>
</div>
</div>
</div>
</div>
<!-- Single item -->
<div class="carousel-item">
<video
style="min-width: 100%; min-height: 100%"
playsinline
autoplay
muted
loop
>
<source
class="h-100"
src="https://mdbootstrap.com/img/video/forest.mp4"
type="video/mp4"
/>
</video>
<div class="mask" style="background-color: rgba(0, 0, 0, 0.3)">
<div
class="d-flex justify-content-center align-items-center h-100"
>
<div class="text-white text-center">
<h2>You can place here any content</h2>
</div>
</div>
</div>
</div>
<!-- Single item -->
<div class="carousel-item">
<video
style="min-width: 100%; min-height: 100%"
playsinline
autoplay
muted
loop
>
<source
class="h-100"
src="https://mdbootstrap.com/img/video/Tropical.mp4"
type="video/mp4"
/>
</video>
<div
class="mask"
style="
background: linear-gradient(
45deg,
rgba(29, 236, 197, 0.7),
rgba(91, 14, 214, 0.7) 100%
);
"
>
<div
class="d-flex justify-content-center align-items-center h-100"
>
<div class="text-white text-center">
<h2>And cover it with any mask</h2>
<a
class="btn btn-outline-light btn-lg m-2"
href="https://mdbootstrap.com/docs/standard/content-styles/masks/"
target="_blank"
role="button"
>Learn about masks</a
>
</div>
</div>
</div>
</div>
</div>
<!-- Inner -->
<!-- Controls -->
<a
class="carousel-control-prev"
href="#introCarousel"
role="button"
data-mdb-slide="prev"
>
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a
class="carousel-control-next"
href="#introCarousel"
role="button"
data-mdb-slide="next"
>
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<!-- Carousel wrapper -->
</header>
<!--Main Navigation-->
<!--Main layout-->
<main class="mt-5">
<div class="container">
<!--Section: Content-->
<section>
<div class="row">
<div class="col-md-6 gx-5 mb-4">
<div
class="bg-image hover-overlay ripple shadow-2-strong"
data-mdb-ripple-color="light"
>
<img
src="https://mdbootstrap.com/img/new/slides/031.jpg"
class="img-fluid"
/>
<a href="#!">
<div
class="mask"
style="background-color: rgba(251, 251, 251, 0.15)"
></div>
</a>
</div>
</div>
<div class="col-md-6 gx-5 mb-4">
<h4><strong>Facilis consequatur eligendi</strong></h4>
<p class="text-muted">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Facilis
consequatur eligendi quisquam doloremque vero ex debitis
veritatis placeat unde animi laborum sapiente illo possimus,
commodi dignissimos obcaecati illum maiores corporis.
</p>
<p><strong>Doloremque vero ex debitis veritatis?</strong></p>
<p class="text-muted">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod
itaque voluptate nesciunt laborum incidunt. Officia, quam
consectetur. Earum eligendi aliquam illum alias, unde optio
accusantium soluta, iusto molestiae adipisci et?
</p>
</div>
</div>
</section>
<!--Section: Content-->
<hr class="my-5" />
<!--Section: Content-->
<section class="text-center">
<h4 class="mb-5"><strong>Facilis consequatur eligendi</strong></h4>
<div class="row">
<div class="col-lg-4 col-md-12 mb-4">
<div class="card">
<div
class="bg-image hover-overlay ripple"
data-mdb-ripple-color="light"
>
<img
src="https://mdbootstrap.com/img/new/standard/nature/184.jpg"
class="img-fluid"
/>
<a href="#!">
<div
class="mask"
style="background-color: rgba(251, 251, 251, 0.15)"
></div>
</a>
</div>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a href="#!" class="btn btn-primary">Button</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card">
<div
class="bg-image hover-overlay ripple"
data-mdb-ripple-color="light"
>
<img
src="https://mdbootstrap.com/img/new/standard/nature/023.jpg"
class="img-fluid"
/>
<a href="#!">
<div
class="mask"
style="background-color: rgba(251, 251, 251, 0.15)"
></div>
</a>
</div>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a href="#!" class="btn btn-primary">Button</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 mb-4">
<div class="card">
<div
class="bg-image hover-overlay ripple"
data-mdb-ripple-color="light"
>
<img
src="https://mdbootstrap.com/img/new/standard/nature/111.jpg"
class="img-fluid"
/>
<a href="#!">
<div
class="mask"
style="background-color: rgba(251, 251, 251, 0.15)"
></div>
</a>
</div>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Some quick example text to build on the card title and make
up the bulk of the card's content.
</p>
<a href="#!" class="btn btn-primary">Button</a>
</div>
</div>
</div>
</div>
</section>
<!--Section: Content-->
<hr class="my-5" />
<!--Section: Content-->
<section class="mb-5">
<h4 class="mb-5 text-center">
<strong>Facilis consequatur eligendi</strong>
</h4>
<div class="row d-flex justify-content-center">
<div class="col-md-6">
<form>
<!-- 2 column grid layout with text inputs for the first and last names -->
<div class="row mb-4">
<div class="col">
<div class="form-outline">
<input
type="text"
id="form3Example1"
class="form-control"
/>
<label class="form-label" for="form3Example1"
>First name</label
>
</div>
</div>
<div class="col">
<div class="form-outline">
<input
type="text"
id="form3Example2"
class="form-control"
/>
<label class="form-label" for="form3Example2"
>Last name</label
>
</div>
</div>
</div>
<!-- Email input -->
<div class="form-outline mb-4">
<input type="email" id="form3Example3" class="form-control" />
<label class="form-label" for="form3Example3"
>Email address</label
>
</div>
<!-- Password input -->
<div class="form-outline mb-4">
<input
type="password"
id="form3Example4"
class="form-control"
/>
<label class="form-label" for="form3Example4">Password</label>
</div>
<!-- Checkbox -->
<div class="form-check d-flex justify-content-center mb-4">
<input
class="form-check-input me-2"
type="checkbox"
value=""
id="form2Example3"
checked
/>
<label class="form-check-label" for="form2Example3">
Subscribe to our newsletter
</label>
</div>
<!-- Submit button -->
<button type="submit" class="btn btn-primary btn-block mb-4">
Sign up
</button>
<!-- Register buttons -->
<div class="text-center">
<p>or sign up with:</p>
<button
type="button"
class="btn btn-primary btn-floating mx-1"
>
<i class="fab fa-facebook-f"></i>
</button>
<button
type="button"
class="btn btn-primary btn-floating mx-1"
>
<i class="fab fa-google"></i>
</button>
<button
type="button"
class="btn btn-primary btn-floating mx-1"
>
<i class="fab fa-twitter"></i>
</button>
<button
type="button"
class="btn btn-primary btn-floating mx-1"
>
<i class="fab fa-github"></i>
</button>
</div>
</form>
</div>
</div>
</section>
<!--Section: Content-->
</div>
</main>
<!--Main layout-->
<!--Footer-->
<footer class="bg-light text-lg-start">
<div class="py-4 text-center">
<a
role="button"
class="btn btn-primary btn-lg m-2"
href="https://www.youtube.com/channel/UC5CF7mLQZhvx8O5GODZAhdA"
rel="nofollow"
target="_blank"
>
Learn Bootstrap 5
</a>
<a
role="button"
class="btn btn-primary btn-lg m-2"
href="https://mdbootstrap.com/docs/standard/"
target="_blank"
>
Download MDB UI KIT
</a>
</div>
<hr class="m-0" />
<div class="text-center py-4 align-items-center">
<p>Follow MDB on social media</p>
<a
href="https://www.youtube.com/channel/UC5CF7mLQZhvx8O5GODZAhdA"
class="btn btn-primary m-1"
role="button"
rel="nofollow"
target="_blank"
>
<i class="fab fa-youtube"></i>
</a>
<a
href="https://www.facebook.com/mdbootstrap"
class="btn btn-primary m-1"
role="button"
rel="nofollow"
target="_blank"
>
<i class="fab fa-facebook-f"></i>
</a>
<a
href="https://twitter.com/MDBootstrap"
class="btn btn-primary m-1"
role="button"
rel="nofollow"
target="_blank"
>
<i class="fab fa-twitter"></i>
</a>
<a
href="https://github.com/mdbootstrap/mdb-ui-kit"
class="btn btn-primary m-1"
role="button"
rel="nofollow"
target="_blank"
>
<i class="fab fa-github"></i>
</a>
</div>
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2)">
© 2020 Copyright:
<a class="text-dark" href="https://mdbootstrap.com/">MDBootstrap.com</a>
</div>
<!-- Copyright -->
</footer>
<!--Footer-->
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>