How to highlight active tab in bootstrap?

In bootstrap there is a standard tabs:
<ul class="nav nav-tabs">
 <li class="active"><a data-toggle="tab" href="#panel1">Panel 1</a></li>
 the <li><a data-toggle="tab" href="#panel2">Panel 2</a></li>

But I have to keep switching tabs without the list:

<a data-toggle="tab" href="#panel1">Panel 1</a>
<a data-toggle="tab" href="#panel2">Panel 2</a>

In this case, to isolate the active element ?
July 8th 19 at 11:46
1 answer
July 8th 19 at 11:48
Simple, add in your styles .nav-tabs .active{prescribe the right rule}
TAB CLASS DEFINITION is more complicated to rewrite in bootstrap.js

Find more questions by tags BootstrapCSSHTML