我已经创建了这里给出的 CSS onHover 弹出窗口。但问题是,用户应该能够单击示例中的注册链接。在这里,当我从链接中移动鼠标感知时,弹出窗口消失了。谁能告诉它如何实现?
HTML:
<div class="how f-left">
<h7><a href="how-it-works">How does this work?</a></h7>
<div class="how-works bubble-outer">
<div class="navigation-up-arrow"></div>
<div class="body">
<h4>How It Works</h4>
<ol class="bubble-inner">
<li>Tell Us What's Wrong </li>
<li class=""> <a href="#">Register</a> to Get Quotes from Local Shopshere </li>
<li class=" bold-txt ">Call Shop / Get Vehicle Serviced </li>
<li>Get Cash Back </li>
</ol>
</div>
</div>
</div>
下面的 CSS 用于 onHover PopUp:
.how h7:hover + .how-works {
display: block;
}