Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Accorderon-Jeff"
Bootstrap 3.3.0 Snippet by
computocell
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
693
 
0 Fav
Post to Facebook
Tweet this
<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 id="menus" class="panel-group menus"> <div class="panel panel-default"> <div class="panel-heading active"> <a data-toggle="collapse" data-parent="#menus" href="#collapse1"> <h4 class="panel-title">Menu A <b class="opened"></b> </h4> </a> </div> <ul id="collapse1" class="panel-collapse collapse in"> <li >1</li> <li >2</li> <li >3</li> </ul> </div> <div class="panel panel-default"> <div class="panel-heading active"> <a data-toggle="collapse" data-parent="#menus" href="#collapse2"> <h4 class="panel-title">Menu B <b class="opened"></b> </h4> </a> </div> <ul id="collapse2" class="panel-collapse collapse in"> <li >1</li> <li >2</li> <li >3</li> </ul> </div> </div>
/* CSS used here will be applied after bootstrap.css */ .menus { padding:10px; width:300px; background-color:#451;} .closed { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-left: 4px solid; border-top: 4px solid transparent; border-bottom: 4px solid transparent; } .opened { display: inline-block; width: 0; height: 0; margin: 0 0 3px 2px; vertical-align: middle; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; } #menus .active { background: #7d7d7d !important; } a { color:#000; text-decoration:none; } a:hover { text-decoration:none; }
Related:
See More
Free Template
Vue Light Bootstrap Dashboard
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76