- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Bootstrap Collapsible panel
To create a collapsible panel in Bootstrap, use the panel-collapse class.
You can try to run the following code to create a collapsible panel
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <h2>Tutorials</h2> <p>Click below...</p> <div class = "panel-group"> <div class = "panel panel-default"> <div class = "panel-heading"> <h4 class = "panel-title"> <a data-toggle = "collapse" href = "#test">Free learning content</a> </h4> </div> <div id = "test" class = "panel-collapse collapse"> <div class = "panel-body">We provide free learning content and quizzes as well.</div> <div class = "panel-footer">Copyright 2018</div> </div> </div> </div> </div> </body> </html>
- Related Articles
- Bootstrap Collapsible link
- Bootstrap Collapsible button
- Bootstrap Collapsible in
- Bootstrap Collapsible list group
- Bootstrap panel class
- Bootstrap panel-title class
- Bootstrap class panel-body
- Bootstrap panel-footer class
- Bootstrap panel-default class
- Bootstrap panel-heading class
- Bootstrap Panel with List groups
- Set Bootstrap Panel with Footer
- Set Bootstrap Panel with Heading
- Usage of Bootstrap panel-default
- Usage of Bootstrap class panel-warning

Advertisements