-
Notifications
You must be signed in to change notification settings - Fork 0
/
carousel.html
1372 lines (1290 loc) · 76 KB
/
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
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>
<meta charset="utf-8">
<title>Silicon UI Kit | Carousel (Slider)</title>
<!-- SEO Meta Tags -->
<meta name="description" content="Silicon - Multipurpose Technology Bootstrap Template">
<meta name="keywords" content="bootstrap, business, creative agency, mobile app showcase, saas, fintech, finance, online courses, software, medical, conference landing, services, e-commerce, shopping cart, multipurpose, shop, ui kit, marketing, seo, landing, blog, portfolio, html5, css3, javascript, gallery, slider, touch, creative">
<meta name="author" content="Createx Studio">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Theme switcher (color modes) -->
<script src="../assets/js/theme-switcher.js"></script>
<!-- Favicon and Touch Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="../assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../assets/favicon/favicon-16x16.png">
<link rel="manifest" href="../assets/favicon/site.webmanifest">
<link rel="mask-icon" href="../assets/favicon/safari-pinned-tab.svg" color="#6366f1">
<link rel="shortcut icon" href="../assets/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#080032">
<meta name="msapplication-config" content="../assets/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Vendor Styles -->
<link rel="stylesheet" media="screen" href="../assets/vendor/boxicons/css/boxicons.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/swiper/swiper-bundle.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/themes/prism.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/plugins/toolbar/prism-toolbar.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/plugins/line-numbers/prism-line-numbers.css">
<!-- Main Theme Styles + Bootstrap -->
<link rel="stylesheet" media="screen" href="../assets/css/theme.min.css">
</head>
<!-- Body -->
<body data-bs-spy="scroll" data-bs-target="#jumpToNav" tabindex="0">
<!-- Navbar -->
<header class="header navbar navbar-expand bg-light border-bottom border-light shadow fixed-top" data-scroll-header>
<div class="container-fluid pe-lg-4">
<div class="d-flex align-items-center">
<a href="typography.html" class="navbar-brand flex-shrink-0 py-1 py-lg-2">
<img src="../assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<span class="badge bg-warning">UI Kit</span>
</div>
<div class="d-flex align-items-center w-100">
<ul class="navbar-nav d-none d-lg-flex" style="padding-left: 11.75rem;">
<li class="nav-item">
<a href="../index.html" class="nav-link">
<i class="bx bx-desktop opacity-70 fs-lg me-1"></i>
Live preview
</a>
</li>
<li class="nav-item">
<a href="../docs/getting-started.html" class="nav-link">
<i class="bx bx-file opacity-70 fs-lg me-1"></i>
Documentation
</a>
</li>
</ul>
<button type="button" class="navbar-toggler d-block d-lg-none ms-auto me-4" data-bs-toggle="offcanvas" data-bs-target="#componentsNav" aria-controls="componentsNav" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="form-check form-switch mode-switch pe-lg-1 ms-lg-auto" data-bs-toggle="mode">
<input type="checkbox" class="form-check-input" id="theme-mode">
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Light</label>
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Dark</label>
</div>
<a href="https://themes.getbootstrap.com/product/silicon-business-technology-template-ui-kit/" class="btn btn-primary btn-sm fs-sm rounded ms-4 d-none d-lg-inline-flex" target="_blank" rel="noopener">
<i class="bx bx-cart fs-5 lh-1 me-1"></i>
Buy now
</a>
</div>
</div>
</header>
<!-- Main sidebar navigation -->
<aside data-bs-theme="dark">
<div id="componentsNav" class="offcanvas-lg offcanvas-start d-flex flex-column position-fixed top-0 start-0 vh-100 bg-dark border-end-lg" style="width: 21rem; z-index: 1045;">
<div class="offcanvas-header d-none d-lg-flex justify-content-start">
<a href="typography.html" class="navbar-brand text-dark d-none d-lg-flex py-0">
<img src="../assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<span class="badge bg-warning d-none d-lg-inline-block">UI Kit</span>
</div>
<div class="offcanvas-header d-block d-lg-none border-bottom">
<div class="d-flex align-items-center justify-content-between mb-3">
<h5 class="d-lg-none mb-0">Menu</h5>
<button type="button" class="btn-close d-lg-none" data-bs-dismiss="offcanvas" data-bs-target="#componentsNav" aria-label="Close"></button>
</div>
<div class="list-group list-group-flush mx-n4">
<a href="../index.html" class="list-group-item list-group-item-action d-flex align-items-center border-0 py-2 px-4">
<i class="bx bx-desktop fs-lg opacity-80 me-2"></i>
Preview
</a>
<a href="../docs/getting-started.html" class="list-group-item list-group-item-action d-flex align-items-center border-0 py-2 px-4">
<i class="bx bx-file fs-lg opacity-80 me-2"></i>
Documentation
</a>
</div>
</div>
<div class="offcanvas-body swiper scrollbar-hover overflow-hidden w-100 p-4" data-swiper-options='{
"direction": "vertical",
"slidesPerView": "auto",
"freeMode": true,
"scrollbar": {
"el": ".swiper-scrollbar"
},
"mousewheel": true
}'>
<div class="swiper-wrapper">
<div class="swiper-slide h-auto">
<h3 class="fs-lg">Content</h3>
<div class="list-group list-group-flush border-bottom pb-3 mb-4 mx-n4">
<a href="typography.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Typography</a>
<a href="https://boxicons.com/" class="list-group-item list-group-item-action border-0 py-2 px-4" target="_blank" rel="noopener">Icon font</a>
<a href="code.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Code</a>
<a href="images.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Images & figures</a>
<a href="tables.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tables</a>
</div>
<h3 class="fs-lg">Components</h3>
<div class="list-group list-group-flush border-bottom pb-3 mb-4 mx-n4">
<a href="accordion.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Accordion</a>
<a href="alerts.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Alerts</a>
<a href="audio-player.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Audio player</a>
<a href="badges.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Badges</a>
<a href="blog-components.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Blog components</a>
<a href="breadcrumb.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Breadcrumb</a>
<a href="buttons.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Buttons</a>
<a href="button-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Button group</a>
<a href="cards.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Cards</a>
<a href="carousel.html" class="list-group-item list-group-item-action border-0 py-2 px-4 active">Carousel (Slider)</a>
<a href="collapse.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Collapse</a>
<a href="dropdowns.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Dropdowns</a>
<a href="forms.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Forms</a>
<a href="gallery.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Gallery (Lightbox)</a>
<a href="image-comparison-slider.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Image comparison slider</a>
<a href="input-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Input group</a>
<a href="list-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">List group</a>
<a href="modal.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Modal</a>
<a href="navbar.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Navbar</a>
<a href="offcanvas.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Offcanvas</a>
<a href="pagination.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pagination</a>
<a href="parallax.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Parallax</a>
<a href="pills.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pills</a>
<a href="placeholders.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Placeholders</a>
<a href="popovers.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Popovers</a>
<a href="portfolio-components.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Portfolio components</a>
<a href="pricing.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pricing</a>
<a href="progress-bars.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Progress bars</a>
<a href="social-buttons.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Social buttons</a>
<a href="spinners.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Spinners</a>
<a href="steps.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Steps</a>
<a href="tabs.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tabs</a>
<a href="team.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Team</a>
<a href="testimonials.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Testimonials / reviews</a>
<a href="toasts.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Toasts</a>
<a href="tooltips.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tooltips</a>
<a href="video-popup.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Video popup</a>
</div>
<h3 class="fs-lg">Utilities</h3>
<div class="list-group list-group-flush mx-n4 pb-2">
<a href="https://getbootstrap.com/docs/5.3/utilities/background/" class="list-group-item list-group-item-action border-0 py-2 px-4" target="_blank" rel="noopener">Bootstrap</a>
<a href="utilities.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Silicon</a>
</div>
</div>
</div>
<div class="swiper-scrollbar end-0"></div>
</div>
<div class="offcanvas-header border-top">
<a href="https://themes.getbootstrap.com/product/silicon-business-technology-template-ui-kit/" class="btn btn-primary w-100" target="_blank" rel="noopener">
<i class="bx bx-cart fs-4 lh-1 me-1"></i>
Buy now
</a>
</div>
</div>
</aside>
<!-- Page container -->
<main class="docs-container pt-5">
<div class="container-fluid px-xxl-5 px-lg-4 pt-4 pt-lg-5 pb-2 pb-lg-4">
<!-- Page title -->
<div class="d-sm-flex align-items-end justify-content-between ps-lg-2 ps-xxl-0 mt-2 mt-lg-0 pt-4 mb-n3">
<div class="me-4">
<h1 class="pb-1">Carousel (Slider)</h1>
<p class="text-muted fs-lg mb-2">A slideshow component for cycling through elements (images or slides with any content) like a carousel.</p>
</div>
<span class="badge bg-warning mb-2">Silicon component</span>
</div>
<!-- Info alert -->
<div class="alert alert-info mt-5 mb-n1 mb-lg-0" role="alert">
<div class="d-flex">
<i class="bx bx-info-circle lead me-2 me-sm-3"></i>
<div class="text-break">
<p class="mb-2"><strong>Carousel component</strong> depends on <strong>Swiper plugin</strong>. Make sure to link to <strong>Swiper css and js</strong> files in your document:</p>
<ul class="list-unstyled mb-2">
<li><strong>assets/vendor/swiper/swiper-bundle.min.css</strong></li>
<li><strong>assets/vendor/swiper/swiper-bundle.min.js</strong></li>
</ul>
<p>Use this page as a reference.</p>
<p>You can pass almost any slider option to <code>data-swiper-options='{}'</code></p>
<p class="fw-bold mb-2">Usefull links</p>
<ul class="list-unstyled mb-1">
<li class="mb-1">
<a href="https://swiperjs.com/demos" class="d-flex align-items-center fw-medium text-decoration-none" target="_blank" rel="noopener">
<i class="bx bx-link-external me-2"></i>
Swiper slider demos with code examples
</a>
</li>
<li>
<a href="https://swiperjs.com/swiper-api" class="d-flex align-items-center fw-medium text-decoration-none" target="_blank" rel="noopener">
<i class="bx bx-link-external me-2"></i>
Swiper slider API: options, methods and events
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Navigation (Prev / next buttons) -->
<section id="carousel-navigation" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Navigation (Prev / next buttons)</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview1" data-bs-toggle="tab" role="tab" aria-controls="preview1" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html1" data-bs-toggle="tab" role="tab" aria-controls="html1" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview1" role="tabpanel">
<div class="d-flex flex-wrap align-items-center">
<div class="d-flex my-2 me-4">
<button type="button" class="btn btn-prev btn-icon btn-xl me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-xl ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
</div>
<div class="d-flex my-2 me-4">
<button type="button" class="btn btn-prev btn-icon btn-lg me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-lg ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
</div>
<div class="d-flex my-2 me-4">
<button type="button" class="btn btn-prev btn-icon me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
</div>
<div class="d-flex my-2">
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
</div>
</div>
</div>
<div class="tab-pane fade" id="html1" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Extra large prev/next buttons -->
<button type="button" class="btn btn-prev btn-icon btn-xl me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-xl ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Large prev/next buttons -->
<button type="button" class="btn btn-prev btn-icon btn-lg me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-lg ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Normal prev/next buttons -->
<button type="button" class="btn btn-prev btn-icon me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Small prev/next buttons -->
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button></code></pre>
</div>
</div>
</section>
<!-- Pagination -->
<section id="carousel-pagination" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Pagination</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview2" data-bs-toggle="tab" role="tab" aria-controls="preview2" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html2" data-bs-toggle="tab" role="tab" aria-controls="html2" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview2" role="tabpanel">
<div class="row row-cols-md-2 row-cols-xl-2 g-4">
<div class="col">
<div class="swiper swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"loop": true,
"pagination": {
"el": ".swiper-pagination",
"clickable": true
},
"navigation": {
"prevEl": ".btn-prev",
"nextEl": ".btn-next"
}
}'>
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<div class="swiper-pagination"></div>
</div>
</div>
<div class="col">
<div class="swiper swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"pagination": {
"el": ".swiper-pagination",
"type": "progressbar"
},
"navigation": {
"prevEl": ".btn-prev",
"nextEl": ".btn-next"
}
}'>
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<div class="swiper-pagination"></div>
</div>
</div>
<div class="col">
<div class="swiper swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"pagination": {
"el": ".swiper-pagination",
"type": "fraction"
},
"navigation": {
"prevEl": ".btn-prev",
"nextEl": ".btn-next"
}
}'>
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<div class="swiper-pagination text-muted fs-4 lh-1 opacity-50 fw-bold"></div>
</div>
</div>
<div class="col">
<div class="swiper swiper-pager swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"loop": true,
"pager": true,
"navigation": {
"prevEl": ".page-prev",
"nextEl": ".page-next"
}
}'>
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<nav class="pagination d-flex justify-content-center position-absolute bottom-0 zindex-2 start-50 translate-middle-x px-2 mb-3">
<div class="page-item me-2">
<a class="page-link page-prev btn-icon btn-sm" href="#" aria-label="Previous page">
<i class="bx bx-chevron-left"></i>
</a>
</div>
<ul class="list-unstyled d-flex justify-content-center mb-0"></ul>
<div class="page-item ms-2">
<a class="page-link page-next btn-icon btn-sm" href="#" aria-label="Next page">
<i class="bx bx-chevron-right"></i>
</a>
</div>
</nav>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="html2" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Pagination: Bullets -->
<div class="swiper swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"loop": true,
"pagination": {
"el": ".swiper-pagination",
"clickable": true
},
"navigation": {
"prevEl": ".btn-prev",
"nextEl": ".btn-next"
}
}'>
<div class="swiper-wrapper">
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<!-- Prev button -->
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<!-- Next button -->
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Pagination -->
<div class="swiper-pagination"></div>
</div>
<!-- Pagination: Progress bar -->
<div class="swiper swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"pagination": {
"el": ".swiper-pagination",
"type": "progressbar"
},
"navigation": {
"prevEl": ".btn-prev",
"nextEl": ".btn-next"
}
}'>
<div class="swiper-wrapper">
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<!-- Prev button -->
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<!-- Next button -->
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Pagination -->
<div class="swiper-pagination"></div>
</div>
<!-- Pagination: Fraction -->
<div class="swiper swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"pagination": {
"el": ".swiper-pagination",
"type": "fraction"
},
"navigation": {
"prevEl": ".btn-prev",
"nextEl": ".btn-next"
}
}'>
<div class="swiper-wrapper">
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<!-- Prev button -->
<button type="button" class="btn btn-prev btn-icon btn-sm me-2" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<!-- Next button -->
<button type="button" class="btn btn-next btn-icon btn-sm ms-2" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Pagination -->
<div class="swiper-pagination text-muted fs-4 lh-1 opacity-50 fw-bold"></div>
</div>
<!-- Pagination: Pager -->
<div class="swiper swiper-pager swiper-nav-onhover" data-swiper-options='{
"spaceBetween": 20,
"loop": true,
"pager": true,
"navigation": {
"prevEl": ".page-prev",
"nextEl": ".page-next"
}
}'>
<div class="swiper-wrapper">
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">1</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">2</div>
</div>
</div>
<!-- Item -->
<div class="swiper-slide">
<div class="ratio ratio-16x9 bg-secondary">
<div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center display-4">3</div>
</div>
</div>
</div>
<!-- Pagination (pager) -->
<nav class="pagination d-flex justify-content-center position-absolute bottom-0 zindex-2 start-50 translate-middle-x px-2 mb-3">
<div class="page-item me-2">
<a class="page-link page-prev btn-icon btn-sm" href="#" aria-label="Previous page">
<i class="bx bx-chevron-left"></i>
</a>
</div>
<ul class="list-unstyled d-flex justify-content-center mb-0"></ul>
<div class="page-item ms-2">
<a class="page-link page-next btn-icon btn-sm" href="#" aria-label="Next page">
<i class="bx bx-chevron-right"></i>
</a>
</div>
</nav>
</div></code></pre>
</div>
</div>
</section>
<!-- Multiple slides (Responsive) + Arrows and bullets outside -->
<section id="carousel-multiple-slides" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Multiple slides (Responsive) + Arrows and bullets outside</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview3" data-bs-toggle="tab" role="tab" aria-controls="preview3" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html3" data-bs-toggle="tab" role="tab" aria-controls="html3" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview3" role="tabpanel">
<div class="position-relative px-xl-5">
<button type="button" id="prev-news" class="btn btn-prev btn-icon btn-sm position-absolute top-50 start-0 translate-middle-y d-none d-xl-inline-flex" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" id="next-news" class="btn btn-next btn-icon btn-sm position-absolute top-50 end-0 translate-middle-y d-none d-xl-inline-flex" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<div class="px-xl-2">
<div class="swiper mx-n2" data-swiper-options='{
"slidesPerView": 1,
"loop": true,
"pagination": {
"el": ".swiper-pagination",
"clickable": true
},
"navigation": {
"prevEl": "#prev-news",
"nextEl": "#next-news"
},
"breakpoints": {
"500": {
"slidesPerView": 2
},
"1600": {
"slidesPerView": 3
}
}
}'>
<div class="swiper-wrapper">
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="../assets/img/landing/financial/news/01.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">
<a href="#" class="badge fs-sm text-nav bg-secondary text-decoration-none">Business</a>
<span class="fs-sm text-muted">12 hours ago</span>
</div>
<h3 class="h5 mb-0">
<a href="#">How agile is your forecasting process?</a>
</h3>
</div>
<div class="card-footer py-4">
<a href="#" class="d-flex align-items-center text-decoration-none">
<img src="../assets/img/avatar/40.jpg" class="rounded-circle" width="48" alt="Avatar">
<div class="ps-3">
<h6 class="fs-base fw-semibold mb-0">Marvin McKinney</h6>
<span class="fs-sm text-muted">Deputy Director</span>
</div>
</a>
</div>
</article>
</div>
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="../assets/img/landing/financial/news/02.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">
<a href="#" class="badge fs-sm text-nav bg-secondary text-decoration-none">Enterprise</a>
<span class="fs-sm text-muted">1 day ago</span>
</div>
<h3 class="h5 mb-0">
<a href="#">A future with high public debt: low-for-long is not low forever</a>
</h3>
</div>
<div class="card-footer py-4">
<a href="#" class="d-flex align-items-center text-decoration-none">
<img src="../assets/img/avatar/04.jpg" class="rounded-circle" width="48" alt="Avatar">
<div class="ps-3">
<h6 class="fs-base fw-semibold mb-0">Jenny Wilson</h6>
<span class="fs-sm text-muted">Financial Expert</span>
</div>
</a>
</div>
</article>
</div>
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="../assets/img/landing/financial/news/03.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">
<a href="#" class="badge fs-sm text-nav bg-secondary text-decoration-none">Finance</a>
<span class="fs-sm text-muted">Nov 24, 2023</span>
</div>
<h3 class="h5 mb-0">
<a href="#">Understanding the rise in long-term rates</a>
</h3>
</div>
<div class="card-footer py-4">
<a href="#" class="d-flex align-items-center text-decoration-none">
<img src="../assets/img/avatar/05.jpg" class="rounded-circle" width="48" alt="Avatar">
<div class="ps-3">
<h6 class="fs-base fw-semibold mb-0">Albert Flores</h6>
<span class="fs-sm text-muted">Financial Counsellor</span>
</div>
</a>
</div>
</article>
</div>
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="../assets/img/landing/financial/news/04.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">
<a href="#" class="badge fs-sm text-nav bg-secondary text-decoration-none">Ticks & Trips</a>
<span class="fs-sm text-muted">Oct 13, 2023</span>
</div>
<h3 class="h5 mb-0">
<a href="#">Stocks making the biggest moves after hours</a>
</h3>
</div>
<div class="card-footer py-4">
<a href="#" class="d-flex align-items-center text-decoration-none">
<img src="../assets/img/avatar/41.jpg" class="rounded-circle" width="48" alt="Avatar">
<div class="ps-3">
<h6 class="fs-base fw-semibold mb-0">Jerome Bell</h6>
<span class="fs-sm text-muted">Business Analyst</span>
</div>
</a>
</div>
</article>
</div>
</div>
<div class="swiper-pagination position-relative bottom-0 mt-4 mb-lg-2"></div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="html3" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Multiple slides responsive slider with external Prev / Next buttons and bullets outside -->
<div class="position-relative px-xl-5">
<!-- Slider prev/next buttons -->
<button type="button" id="prev-news" class="btn btn-prev btn-icon btn-sm position-absolute top-50 start-0 translate-middle-y d-none d-xl-inline-flex" aria-label="Previous">
<i class="bx bx-chevron-left"></i>
</button>
<button type="button" id="next-news" class="btn btn-next btn-icon btn-sm position-absolute top-50 end-0 translate-middle-y d-none d-xl-inline-flex" aria-label="Next">
<i class="bx bx-chevron-right"></i>
</button>
<!-- Slider -->
<div class="px-xl-2">
<div class="swiper mx-n2" data-swiper-options='{
"slidesPerView": 1,
"loop": true,
"pagination": {
"el": ".swiper-pagination",
"clickable": true
},
"navigation": {
"prevEl": "#prev-news",
"nextEl": "#next-news"
},
"breakpoints": {
"500": {
"slidesPerView": 2
},
"1000": {
"slidesPerView": 3
}
}
}'>
<div class="swiper-wrapper">
<!-- Item -->
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="assets/img/landing/financial/news/01.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">
<a href="#" class="badge fs-sm text-nav bg-secondary text-decoration-none">Business</a>
<span class="fs-sm text-muted">12 hours ago</span>
</div>
<h3 class="h5 mb-0">
<a href="#">How agile is your forecasting process?</a>
</h3>
</div>
<div class="card-footer py-4">
<a href="#" class="d-flex align-items-center text-decoration-none">
<img src="assets/img/avatar/40.jpg" class="rounded-circle" width="48" alt="Avatar">
<div class="ps-3">
<h6 class="fs-base fw-semibold mb-0">Marvin McKinney</h6>
<span class="fs-sm text-muted">Deputy Director, Capital Department</span>
</div>
</a>
</div>
</article>
</div>
<!-- Item -->
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="assets/img/landing/financial/news/02.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">
<a href="#" class="badge fs-sm text-nav bg-secondary text-decoration-none">Enterprise</a>
<span class="fs-sm text-muted">1 day ago</span>
</div>
<h3 class="h5 mb-0">
<a href="#">A future with high public debt: low-for-long is not low forever</a>
</h3>
</div>
<div class="card-footer py-4">
<a href="#" class="d-flex align-items-center text-decoration-none">
<img src="assets/img/avatar/04.jpg" class="rounded-circle" width="48" alt="Avatar">
<div class="ps-3">
<h6 class="fs-base fw-semibold mb-0">Jenny Wilson</h6>
<span class="fs-sm text-muted">Financial Sector Expert</span>
</div>
</a>
</div>
</article>
</div>
<!-- Item -->
<div class="swiper-slide h-auto pb-3">
<article class="card h-100 border-0 shadow-sm mx-2">
<div class="position-relative">
<a href="#" class="position-absolute top-0 start-0 w-100 h-100" aria-label="Read more"></a>
<a href="#" class="btn btn-icon btn-light bg-white border-white btn-sm rounded-circle position-absolute top-0 end-0 zindex-5 me-3 mt-3" data-bs-toggle="tooltip" data-bs-placement="left" title="Read later" aria-label="Read later">
<i class="bx bx-bookmark"></i>
</a>
<img src="assets/img/landing/financial/news/03.jpg" class="card-img-top" alt="Image">
</div>
<div class="card-body pb-4">
<div class="d-flex align-items-center justify-content-between mb-3">