相关疑难解决方法(0)

CSS On hover show another element

I want to use CSS to show div id='b' when I hover over div id='a', but I cannot figure out how to do it because the div 'a' is inside another div that div 'b' is not in.

<div id='content'>
     <div id='a'>
         Hover me
     </div>
</div>
<div id='b'>
    Show me
</div>
Run Code Online (Sandbox Code Playgroud)

html css hover

40
推荐指数
3
解决办法
9万
查看次数

标签 统计

css ×1

hover ×1

html ×1