Bootstrap snippet and html example. Acordion horizontal with arrows

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.6 included, to get the result that you can see in the preview selection



<!-- Font awesome -->
<script src="https://use.fontawesome.com/cb2d0db4c2.js"></script>
<div>
    <div class="container">
        <div class="row">
            <br>
                <br>
                    <br>
                        <div class="col-md-4 col-md-offset-3">
                            <div aria-multiselectable="true" class="panel-group" id="accordion" role="tablist">
                                <div class="panel panel-default">
                                    <div class="panel-heading" id="headingOne" role="tab">
                                        <h4 class="panel-title">
                                            <a aria-controls="collapseOne" aria-expanded="true" data-parent="#accordion" data-toggle="collapse" href="#collapseOne" role="button">
                                                <i class="fa fa-angle-down">
                                                </i>
                                                Collapse 1
                                            </a>
                                        </h4>
                                    </div>
                                    <div aria-labelledby="headingOne" class="panel-collapse collapse in" id="collapseOne" role="tabpanel">
                                        <div class="panel-body">
                                            <div class="row">
                                                <div class="col-sm-6 col-md-12">
                                                    <div class="thumbnail">
                                                        <img alt="..." src="http://www.fargom.com.mx/img/taza-cafe.jpg">
                                                            <div class="caption">
                                                                <h3 class="text-center">
                                                                    Title
                                                                </h3>
                                                                <p>
                                                                    Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor.
                                                                </p>
                                                                <p class="text-center">
                                                                    <a class="btn btn-default btn-circle thumbnail-facebook-btn" href="#">
                                                                        <i class="fa fa-facebook ">
                                                                        </i>
                                                                    </a>
                                                                    <a class="btn btn-default btn-circle thumbnail-twitter-btn" href="#">
                                                                        <i class="fa fa-twitter ">
                                                                        </i>
                                                                    </a>
                                                                    <a class="btn btn-default btn-circle thumbnail-linkedin-btn" href="#">
                                                                        <i class="fa fa-linkedin ">
                                                                        </i>
                                                                    </a>
                                                                </p>
                                                            </div>
                                                        </img>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="panel panel-default">
                                    <div class="panel-heading" id="headingTwo" role="tab">
                                        <h4 class="panel-title">
                                            <a aria-controls="collapseTwo" aria-expanded="false" class="collapsed" data-parent="#accordion" data-toggle="collapse" href="#collapseTwo" role="button">
                                                <i class="fa fa-angle-down">
                                                </i>
                                                Collapse 2
                                            </a>
                                        </h4>
                                    </div>
                                    <div aria-labelledby="headingTwo" class="panel-collapse collapse" id="collapseTwo" role="tabpanel">
                                        <div class="panel-body">
                                            <div class="row">
                                                <div class="col-sm-6 col-md-12">
                                                    <div class="thumbnail">
                                                        <img alt="..." src="http://www.fargom.com.mx/img/taza-cafe.jpg">
                                                            <div class="caption">
                                                                <h3 class="text-center">
                                                                    Title
                                                                </h3>
                                                                <p>
                                                                    Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor.
                                                                </p>
                                                                <p class="text-center">
                                                                    <a class="btn btn-default btn-circle thumbnail-facebook-btn" href="#">
                                                                        <i class="fa fa-facebook ">
                                                                        </i>
                                                                    </a>
                                                                    <a class="btn btn-default btn-circle thumbnail-twitter-btn" href="#">
                                                                        <i class="fa fa-twitter ">
                                                                        </i>
                                                                    </a>
                                                                    <a class="btn btn-default btn-circle thumbnail-linkedin-btn" href="#">
                                                                        <i class="fa fa-linkedin ">
                                                                        </i>
                                                                    </a>
                                                                </p>
                                                            </div>
                                                        </img>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="panel panel-default">
                                    <div class="panel-heading" id="headingThree" role="tab">
                                        <h4 class="panel-title">
                                            <a aria-controls="collapseThree" aria-expanded="false" class="collapsed" data-parent="#accordion" data-toggle="collapse" href="#collapseThree" role="button">
                                                <i class="fa fa-angle-down">
                                                </i>
                                                Collpase 3
                                            </a>
                                        </h4>
                                    </div>
                                    <div aria-labelledby="headingThree" class="panel-collapse collapse" id="collapseThree" role="tabpanel">
                                        <div class="panel-body">
                                            <div class="row">
                                                <div class="col-sm-6 col-md-12">
                                                    <div class="thumbnail">
                                                        <img alt="..." src="http://www.fargom.com.mx/img/taza-cafe.jpg">
                                                            <div class="caption">
                                                                <h3 class="text-center">
                                                                    Title
                                                                </h3>
                                                                <p>
                                                                    Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor.
                                                                </p>
                                                                <p class="text-center">
                                                                    <a class="btn btn-default btn-circle thumbnail-facebook-btn" href="#">
                                                                        <i class="fa fa-facebook ">
                                                                        </i>
                                                                    </a>
                                                                    <a class="btn btn-default btn-circle thumbnail-twitter-btn" href="#">
                                                                        <i class="fa fa-twitter ">
                                                                        </i>
                                                                    </a>
                                                                    <a class="btn btn-default btn-circle thumbnail-linkedin-btn" href="#">
                                                                        <i class="fa fa-linkedin ">
                                                                        </i>
                                                                    </a>
                                                                </p>
                                                            </div>
                                                        </img>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </br>
                </br>
            </br>
        </div>
    </div>
        </div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.6 included, to get the result that you can see in the preview selection



.panel-default{
  border-radius: 10px;

}
.panel-default>.panel-heading{
   background-color: #0072ff;
   border-bottom: 5px solid black;
}

.panel-title a{
  text-decoration: none;
  color: white;
}
.pa1nel-title a:hover{
  color: #ffa81c !important;
  text-decoration: none;
}
.panel-body{
  background-color: gray;
}

.btn-circle {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.42;
  border-radius: 15px;
  color: black;
}

.thumbnail-facebook-btn{
  background-color: #3B5998;
  color: white;
}

.thumbnail-twitter-btn{
  background-color: #1DA1F2;
  color:white;
}
.thumbnail-linkedin-btn{
  background-color: #2468A1;
  color:white;
}

Javascript/Jquery code

This is the javascript code used to create this bootstrap snippet, You can copy and paste the following javascript code inside a page with bootstrap 3.3.6 included, to get the result that you can see in the preview selection



$(document).ready(function() {
    $('.collapse').on('show.bs.collapse', function() {
        $(this).parent().find('.fa-angle-down').removeClass('fa-angle-down').addClass('fa-angle-up');
    }).on('hidden.bs.collapse', function() {
        $(this).parent().find('.fa-angle-up').removeClass('fa-angle-up').addClass('fa-angle-down');
    });
}); 

Similar snippets

Bootstrap example and template. shopping cart checkout

shopping cart checkout

Bootstrap example and template. messages like material design

messages like material design

Bootstrap example and template. Form send password

Form send password

Bootstrap example and template. shopping cart

shopping cart

Bootstrap example and template. Jobs tabs

Jobs tabs

Bootstrap example and template. chat app

chat app

Bootstrap example and template. Whatsapp web chat template

Whatsapp web chat template

Bootstrap example and template. User profile with friends and chat

User profile with friends and chat

Bootstrap example and template. Acordion horizontal with arrows

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 2.0K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.6

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.6 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working