這是我在HTML文檔中的代碼。我一直在試圖讓這個懸停動作起作用,當描述是li標籤的一個孩子時,我只得到它的工作,這不是我想要的。我想將描述顯示爲單獨的div。 如何在單獨div中的列表項上懸停時顯示「col-md-6」div
<div class="row">
<div class="col-md-6 wow fadeIn header-left" data-wow-delay=".5s" data-wow-duration="2s">
<h2>Services</h2>
<ul class="services-list flex">
<!--Hover this list item for description div to appear-->
<li id="item-1" class="wow fadeIn" data-wow-delay="1s"><h5><a href="#">Lighting System Design</a></h5>
<div class="wow fadeIn" data-wow-delay=".1s" id="lightingDesign">
</li>
</ul>
</div>
<!--Description div i want to appear when hover on #item-1-->
<div class="col-md-6 header-left wow fadeIn" id="description-1">
<h4>Lighting System Design</h4>
<p>Determining the equipment and programing required that meet interior anenter code hered exterior lighting specifications.</p>
</div>
</div>
</div>