- 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 nav-pills class
To turn the tabs into pills, use the class .nav-pills. You can try to run the following code to implement Bootstrap Pills
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> <h2>Subjects</h2> <ul class = "nav nav-pills"> <li class = "active"><a href = "#">Java</a></li> <li><a href = "#">WordPress</a></li> <li><a href = "#">JavaScript</a></li> <li><a href = "#">AngularJS</a></li> </ul> </body> </html>
- Related Articles
- Bootstrap nav-stacked class
- Bootstrap .nav-justified class
- Using Bootstrap nav-tabs class
- Bootstrap 4 .card-header-pills class
- Bootstrap Pills
- Justified Nav in Bootstrap
- Bootstrap Vertical Pills
- Active Nav States in Bootstrap
- Non-Nav (standard) links in Bootstrap
- Pills with Dropdowns Bootstrap Example
- Vertically stack pills with Bootstrap
- Style navigation pills inside the Bootstrap 4 card header
- Bootstrap .pagination class
- Bootstrap lead class
- Bootstrap table class

Advertisements