"accordion design"
Bootstrap 4.0.0 Snippet by dkstudio

<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 ----------> <section id="service"> <div class="container"> <div class="row"> <div class="col-md-6"> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> Section 1 </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nisl lorem, dictum id pellentesque at, vestibulum ut arcu. Curabitur erat libero, egestas eu tincidunt ac, rutrum ac justo. Vivamus condimentum laoreet lectus, blandit posuere tortor aliquam vitae. Curabitur molestie eros. </p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingTwo"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> Section 2 </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="panel-body"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nisl lorem, dictum id pellentesque at, vestibulum ut arcu. Curabitur erat libero, egestas eu tincidunt ac, rutrum ac justo. Vivamus condimentum laoreet lectus, blandit posuere tortor aliquam vitae. Curabitur molestie eros. </p> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingThree"> <h4 class="panel-title"> <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> Section 3 </a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree"> <div class="panel-body"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nisl lorem, dictum id pellentesque at, vestibulum ut arcu. Curabitur erat libero, egestas eu tincidunt ac, rutrum ac justo. Vivamus condimentum laoreet lectus, blandit posuere tortor aliquam vitae. Curabitur molestie eros. </p> </div> </div> </div> </div> </div> </div> </div> </section>
#accordion .panel{ border: none; border-radius: 0; box-shadow: none; /* margin: 0 30px 10px 30px;*/ overflow: hidden; position: relative; } #accordion .panel-heading{ padding: 0; border: none; border-radius: 0; position: relative; } #accordion .panel-title a{ display: block; padding: 15px 20px; margin: 0; background: #fe7725; font-size: 18px; font-weight: 700; letter-spacing: 1px; color: #fff; border-radius: 0; position: relative; } #accordion .panel-title a.collapsed{ background: #1c2336;} #accordion .panel-title a:before, #accordion .panel-title a.collapsed:before{ content: "\f068"; font-family: fontawesome; width: 30px; height: 30px; line-height: 25px; border-radius: 50%; background: #fe7725; font-size: 14px; font-weight: normal; color: #fff; text-align: center; border: 3px solid #fff; position: absolute; top: 10px; right: 14px; } #accordion .panel-title a.collapsed:before{ content: "\f067"; background: #ababab; border: 4px solid #626262; } #accordion .panel-title a:after, #accordion .panel-title a.collapsed:after{ content: ""; width: 17px; height: 7px; background: #fff; position: absolute; top: 22px; right: 0; } #accordion .panel-title a.collapsed:after{ width: 19px; background: #ababab; } #accordion .panel-body{ border-left: 3px solid #fe7725; border-top: none; background: #fff; /*font-size: 15px;*/ color: #1c2336; line-height: 27px; position: relative; } #accordion .panel-body:before{ content: ""; height: 3px; width: 50%; background: #fe7725; position: absolute; bottom: 0; left: 0; } #accordion .panel-body p{ padding: 10px; }

Related: See More


Questions / Comments: