这是我的CSS。
所以我想要的是在悬停时在网站上显示“header_under”。但似乎不起作用。
HTML:
"和"
.header_under{
display: none;
width: 300px;
height: 150px;
float: left;
background: red
}
.show:hover ~ .header_under{
display: block;
}
所以我想要的是在悬停时在网站上显示“header_under”。但似乎不起作用。
HTML:
<li class="show"><a href='#'><span>Games4u</span></a></li>
"和"
<div class="bildspel">
<div id="header_under"></div>
</div>