I am trying to custom tabs. When a tab is active, I would like it to have its title underlined. I don't know why, but I can't reach it with CSS, it must need a css syntaxe I can't think of.
So, I was thinking maybe to custom my html code with some css property? Is there anyway to attribute the onmouseover
with visited
, hover
and active
to my <div>
in html?
Here is HTML I have
<div class="container">
<div class="tabcordion">
<ul class="nav nav-pills nav-stacked col-lg-6 col-md-6 col-sm-6 col-xs-12">
<li class="active"><a data-target=".KONTAKT">KONTAKT</a></li>
<li><a data-target=".ÜBER_UNS">ÜBER UNS</a></li>
</ul>
<div class="tab-content col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="KONTAKT in active">My content #1.</div>
<div class="ÜBER_UNS">My content #2.</div>
</div>
</div>
</div>