Ben Cull - Payments Engineer and Microsoft Development Professional

Wizard Style Navigation Tabs for Bootstrap

Get wizard style navigations tabs by adding this small bit of CSS to your project.

UPDATE 2016-09-27: Thanks to Talal Alenizi for a great CSS update. The HTML syntax is now super simple. Just use your bootstrap pills navigation.

Demo

Usage

Here’s what you need to do to your existing tabs:

  • Make sure you’re using .nav-pills
  • Add a .nav-wizard class to your tabs

 

<ul class="nav nav-pills nav-wizard">
    <li class="active"><a href="#" data-toggle="tab">Home</a></li>
    <li><a href="#" data-toggle="tab">About</a></li>
    <li><a href="#" data-toggle="tab">Contact</a></li>
</ul>

Then add the css (or less) from below and that’s it!

Full Code (CSS and LESS)

Wizard Style Navigation Tabs for Bootstrap
Prev post

Track Created and Modified fields Automatically with Entity Framework Code First

Next post

The State of Payments in Australia

Wizard Style Navigation Tabs for Bootstrap

Get in touch

Send me a message and I'll get back to you.