If I have tabs like this in html:
<ul class="qtabs">
<li><a href="{show tab1}">tab 1 title</a></li>
<li class="active"><a href="{show tab2}">tab 2 title</a></li>
<li><a href="{show tab3}">tab 3 title</a></li>
</ul>
<div class="tab-container">
<div id="tab1">
<div class="tab-content">text, text, text, text....</div>
</div>
<div id="tab2" style="display:none;">
<div class="tab-content">text, text, text, text....</div>
</div>
<div id="tab2" style="display:none;">
<div class="tab-content">text, text, text, text....</div>
</div>
</div>
Is it possible with CSS only to make hover-effect (change textcolor of .tab-content for the tab that user is hovering over ? (it's ok if it only works with css3)
Possible duplciate? Is there any way to hover over one element and affect a different element?
Kind of, but nothing has happened in 4 years then? :-)