"faq accordian"
Bootstrap 4.0.0 Snippet by ronnydodd

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="body">
<div class="faq-wrapper">
<input id="question1" type="checkbox" name="toggle" class="question" />
<label for="question1">
<h3>Member Center</h3>
</label>
<section id="answer1">
<script src="https://kit.fontawesome.com/90fead11e1.js" crossorigin="anonymous"></script>
<div class="jumbotron">
<div class="row w-100">
<div class="col-md-3">
<div class="card border-info mx-sm-1 p-3">
<div class="card border-info shadow text-info p-3 my-card" ><span class="fas fa-hand-holding-heart" aria-hidden="true"></span></div>
<div class="text-info text-center mt-3"><h4>Covid-19 Resources</h4></div>
<div class="text-info text-center mt-2"><h5>Most Recent:</h5></div>
<p>BPAA Updates</p>
<p>Reopening Resource Center</p>
<p>Back to Bowling</p>
<a href="https://bowlinguniversity.net/opening" class="btn btn-default">Default text here</a>
<hr>
</div>
</div>
<div class="col-md-3">
<div class="card border-info mx-sm-1 p-3">
<div class="card border-info shadow text-info p-3 my-card" ><span class="far fa-lightbulb" aria-hidden="true"></span></div>
<div class="text-info text-center mt-3"><h4>Smart Buy</h4></div>
<div class="text-info text-center mt-2"><h5>Shop Discounted Products</h5></div>
<p>Pepsi</p>
<p>Food Service</p>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
.faq-wrapper {
margin-bottom: 20px;
border-top: 1px solid #f0f0f0;
background: #fff;
transform: translateZ(0);
}
input[type="checkbox"] {
position: absolute;
opacity: 0;
}
label img, label p {
display: inline-block;
vertical-align: top;
}
label img {
margin-right: 10px;
height: 1.4em;
}
label p {
line-height: 1.4em;
}
label {
position: relative;
display: block;
margin: 0 0 0 16px;
padding: 16px 0;
border-bottom: 1px solid #f0f0f0;
background: #fff;
font-size: 1em;
line-height: 1.2em;
cursor: pointer;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: