A unique program I developed generates a tree structure that looks like this:
<li class="linamesystem">Alternator</li>
<ul class="boxfornamegroupsparts">
<li class="linamegroup"><a href="#top(1)">Alternator2</a></li>
<li class="linamegroup"><a href="#top(2)">Krmilnik alternatorja (regler)</a></li>
</ul>
Alternator -> Alternator2
->Krmilnik
I am currently struggling with finding the appropriate CSS code to make the parent 'Alternator' element respond to hover and show its child elements of class linamegroup
. Should I use JavaScript instead?