我想在光标悬停在锚标记上时显示第二个div
(在 HTML 中)类a。dikh
HTML 代码:
<a>Hover over me!</a>
<div class="faraz"> sdjfg </div>
<div class="dikha">Stuff shown on hover</div>
风格
div {
display: none;
}
a:hover > div:nth-child(2) {
display: block;
background-color: RED;
height: 250px;
width: 960px;
}