"Bootstrap 3 Collapse show/hide state"
Bootstrap 3.3.0 Snippet by ennefield

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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="container"> <div class="panel-group" id="accordion1"> <div class="panel panel-default"> <div class="panel-heading"> <h5 class="panel-title"> <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion1" href="#genesis">PERGUNTA 1s</a> </h5> </div> <div id="genesis" class="panel-collapse collapse"> <div class="panel-body"> RESPOSTA 1 </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h5 class="panel-title"> <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion1" href="#accordion2">PERGUNTA 2</a> </h5> </div> <div id="accordion2" class="panel-collapse collapse"> <div class="panel-body"> RESPOSTA 2t </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h5 class="panel-title"> <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion1" href="#accordion3">PERGUNTA 3</a> </h5> </div> <div id="accordion3" class="panel-collapse collapse"> <div class="panel-body"> RESP+OSTA 3 </div> </div> </div> </div> </div> <br> <br>
/*** User Profile Sidebar by @keenthemes A component of Metronic Theme - #1 Selling Bootstrap 3 Admin Theme in Themeforest: http://j.mp/metronictheme Licensed under MIT ***/ .panel-group { padding-top: 50px; } .panel-default { border-radius: 0; border: none; background: none; margin-bottom: 0; padding-bottom: 14px; } .panel-default > .panel-heading { border: none; background: none; padding: 0; } .panel-default > .panel-heading + .panel-collapse .panel-body { border: none; padding: 0 0 0 32px; } .panel-default h5 { font: 300 19px "Open Sans", Arial, sans-serif; padding: 0; margin: 0 0 5px; } .panel-group .panel+.panel { margin-top: 15px; } .panel-default .accordion-toggle:before { content: ""; width: 21px; height: 21px; display: inline-block; background: #e54a1a url(http://keenthemes.com/assets/bootsnipp/toggle-icons.png) no-repeat 6px 10px; border-radius: 50%; margin-right: 10px; position: relative; top: 4px; } .panel-default .collapsed:before { background: #495764 url(http://keenthemes.com/assets/bootsnipp/toggle-icons.png) no-repeat 6px -148px; } .panel-default .panel-title:hover .collapsed:before { background-color: #e54a1a; } .panel-default .accordion-toggle, .panel-default .accordion-toggle:focus, .panel-default .accordion-toggle:hover, .panel-default .accordion-toggle:active { color: #1ea9e3; text-decoration: none; } .panel-default .collapsed { color: #5f6f7e; }

Related: See More


Questions / Comments: