css中将鼠标放到一个div上显示出另一个隐藏的div

CSS Test Page - 锐客网*{ margin: 0; padding: 0; } #content{ background:#0CF; height:200px; width:200px; margin-left: 20px; margin-top: 20px; } #show{ width:200px; height:200px; margin-top: 20px; background:#F09; top:0px; position:absolute; opacity: 0; display: block; font-size: 12px; transition: 0.3s; -webkit-transition: .5s; -moz-transition: .5s; } #content:hover #show{ color: #656e73; opacity: 1; }这是原本的div层【css中将鼠标放到一个div上显示出另一个隐藏的div】这是鼠标移动上去后的div层


    推荐阅读