Bootstrap snippet. Acordion horizontal with arrows

This Bootstrap snippet. Acordion horizontal with arrows, was created to help web designers,
front-end developers and back-end developer save time. Use it 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, paste, change, customize and run the following HTML code to get a result like the one shown 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, paste, change, customize and run the following CSS code to get a result Like the one shown 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 css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following JS code to get a result Like the one shown 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 snippet bs4 activity list

bs4 activity list

View

Bootstrap snippet bs4 Task Board page

bs4 Task Board page

View

Bootstrap snippet bs4 profile contacts

bs4 profile contacts

View

Bootstrap snippet bs4 simple chat app

bs4 simple chat app

View

Bootstrap snippets. Acordion horizontal with arrows

About this bootstrap snippet

This bootstrap snippet, Acordion horizontal with arrows, was published on Sep 4th 2016, 22:47 by Facundo Chuburu and it is free.

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 snippet currectly have 678 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.6

This snippet 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 snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working