- 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
Vertically stack pills with Bootstrap
Use the .nav-stacked class in Bootstrap to vertically stack pills:
You can try to run the following code to implement the .nav-stacked class −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <h2>Database</h2> <p>The following are the database technologies:</p> <ul class = "nav nav-pills nav-stacked" role = "tablist"> <li class = "active"><a href = "#">DB2</a></li> <li><a href = "#">MySQL</a></li> <li><a href = "#">SQL</a></li> <li><a href = "#">CouchDB</a></li> </ul> </div> </body> </html>
- Related Articles
- Vertically stack tabs with Bootstrap
- Pills with Dropdowns Bootstrap Example
- Bootstrap Pills
- Bootstrap Vertical Pills
- Bootstrap nav-pills class
- Stack multiple progress bars with Bootstrap
- Creating a Tabbed pills and Vertical pills navigation menu in Bootstrap
- Bootstrap 4 .card-header-pills class
- Make a set of buttons appear vertically with Bootstrap
- Style navigation pills inside the Bootstrap 4 card header
- Stack arrays in sequence vertically (row wise) in Numpy
- Display flex items vertically in Bootstrap 4
- Stack masked arrays in sequence vertically (row wise) in Numpy
- Make a Bootstrap button group appear vertically stacked
- Display flex items vertically and reversed in Bootstrap 4

Advertisements