"Collapse panels, accordeon cards, collapse card panel bootstrap4"
Bootstrap 4.0.0 Snippet by vosidiy

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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css">
<div class="container">
<br> <p class="text-center">More bootstrap 4 components on <a href="http://bootstrap-ecommerce.com/"> Bootstrap-ecommerce.com</a></p>
<hr>
<div class="row">
<aside class="col-sm-4">
<p>Collapse - list group</p>
<div class="list-group filter-wrap">
<article class="list-group-item">
<header class="filter-header">
<a href="#" data-toggle="collapse" data-target="#collapse1" aria-expanded="true" class="">
<i class="icon-action fa fa-chevron-down"></i>
<h6 class="title">Some heading </h6>
</a>
</header>
<div class="filter-content collapse show" id="collapse1" style="">
<form class="py-2">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search">
<div class="input-group-append">
<button class="btn btn-primary" type="button"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt deserunt mollit anim id est laborum. </p>
</div> <!-- collapse -filter-content .// -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.card {
margin-bottom: 15px;
}
.icon-action {
margin-top: 5px;
float: right;
font-size: 80%;
}
.list-group-item .title {
margin-top: 5px;
margin-bottom: 12px;
font-weight: 600;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

Nice design

usmanawan83 (-1) - 4 years ago - Reply 0