xxxxxxxxxx
1
<!-- Carousel wrapper -->
2
<div id="carouselBasicExample" class="carousel slide carousel-fade" data-mdb-ride="carousel">
3
<!-- Indicators -->
4
<div class="carousel-indicators">
5
<button
6
type="button"
7
data-mdb-target="#carouselBasicExample"
8
data-mdb-slide-to="0"
9
class="active"
10
aria-current="true"
11
aria-label="Slide 1"
12
></button>
13
<button
14
type="button"
15
data-mdb-target="#carouselBasicExample"
16
data-mdb-slide-to="1"
17
aria-label="Slide 2"
18
></button>
19
<button
20
type="button"
21
data-mdb-target="#carouselBasicExample"
22
data-mdb-slide-to="2"
23
aria-label="Slide 3"
24
></button>
25
</div>
26
27
<!-- Inner -->
28
<div class="carousel-inner">
29
<!-- Single item -->
30
<div class="carousel-item active">
31
<img src="https://mdbcdn.b-cdn.net/img/Photos/Slides/img%20(15).webp" class="d-block w-100" alt="Sunset Over the City"/>
32
<div class="carousel-caption d-none d-md-block">
33
<h5>First slide label</h5>
34
<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>
35
</div>
36
</div>
37
38
<!-- Single item -->
39
<div class="carousel-item">
40
<img src="https://mdbcdn.b-cdn.net/img/Photos/Slides/img%20(22).webp" class="d-block w-100" alt="Canyon at Nigh"/>
41
<div class="carousel-caption d-none d-md-block">
42
<h5>Second slide label</h5>
43
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
44
</div>
45
</div>
46
47
<!-- Single item -->
48
<div class="carousel-item">
49
<img src="https://mdbcdn.b-cdn.net/img/Photos/Slides/img%20(23).webp" class="d-block w-100" alt="Cliff Above a Stormy Sea"/>
50
<div class="carousel-caption d-none d-md-block">
51
<h5>Third slide label</h5>
52
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p>
53
</div>
54
</div>
55
</div>
56
<!-- Inner -->
57
58
<!-- Controls -->
59
<button class="carousel-control-prev" type="button" data-mdb-target="#carouselBasicExample" data-mdb-slide="prev">
60
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
61
<span class="visually-hidden">Previous</span>
62
</button>
63
<button class="carousel-control-next" type="button" data-mdb-target="#carouselBasicExample" data-mdb-slide="next">
64
<span class="carousel-control-next-icon" aria-hidden="true"></span>
65
<span class="visually-hidden">Next</span>
66
</button>
67
</div>
68
<!-- Carousel wrapper -->
xxxxxxxxxx
1
.carousel-indicators button {
2
height: 1rem !important;
3
width: 1rem !important;
4
border-radius: 50%;
5
}
6
.carousel-control-prev-icon:after {
7
content: "\f137";
8
}
9
.carousel-control-next-icon:after {
10
content: "\f138";
11
}
1
1
Console errors: 0