xxxxxxxxxx
1
<div class="accordion" id="accordionExample">
2
<div class="accordion-item">
3
<h2 class="accordion-header" id="headingOne">
4
<button
5
class="accordion-button collapsed"
6
type="button"
7
data-mdb-toggle="collapse"
8
data-mdb-target="#collapseOne"
9
aria-expanded="false"
10
aria-controls="collapseOne"
11
>
12
Accordion Item #1
13
</button>
14
</h2>
15
<div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne" data-mdb-parent="#accordionExample">
16
<div class="accordion-body">
17
<strong>This is the first item's accordion body.</strong> It is hidden by default,
18
until the collapse plugin adds the appropriate classes that we use to style each
19
element. These classes control the overall appearance, as well as the showing and
20
hiding via CSS transitions. You can modify any of this with custom CSS or
21
overriding our default variables. It's also worth noting that just about any HTML
22
can go within the <strong>.accordion-body</strong>, though the transition does
23
limit overflow.
24
</div>
25
</div>
26
</div>
27
<div class="accordion-item">
28
<h2 class="accordion-header" id="headingTwo">
29
<button
30
class="accordion-button collapsed"
31
type="button"
32
data-mdb-toggle="collapse"
33
data-mdb-target="#collapseTwo"
34
aria-expanded="false"
35
aria-controls="collapseTwo"
36
>
37
Accordion Item #2
38
</button>
39
</h2>
40
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-mdb-parent="#accordionExample">
41
<div class="accordion-body">
42
<strong>This is the second item's accordion body.</strong> It is hidden by
43
default, until the collapse plugin adds the appropriate classes that we use to
44
style each element. These classes control the overall appearance, as well as the
45
showing and hiding via CSS transitions. You can modify any of this with custom CSS
46
or overriding our default variables. It's also worth noting that just about any
47
HTML can go within the <strong>.accordion-body</strong>, though the transition
48
does limit overflow.
49
</div>
50
</div>
51
</div>
52
<div class="accordion-item">
53
<h2 class="accordion-header" id="headingThree">
54
<button
55
class="accordion-button collapsed"
56
type="button"
57
data-mdb-toggle="collapse"
58
data-mdb-target="#collapseThree"
59
aria-expanded="false"
60
aria-controls="collapseThree"
61
>
62
Accordion Item #3
63
</button>
64
</h2>
65
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-mdb-parent="#accordionExample">
66
<div class="accordion-body">
67
<strong>This is the third item's accordion body.</strong> It is hidden by default,
68
until the collapse plugin adds the appropriate classes that we use to style each
69
element. These classes control the overall appearance, as well as the showing and
70
hiding via CSS transitions. You can modify any of this with custom CSS or
71
overriding our default variables. It's also worth noting that just about any HTML
72
can go within the <strong>.accordion-body</strong>, though the transition does
73
limit overflow.
74
</div>
75
</div>
76
</div>
77
</div>
1
1
1
1
Console errors: 0