[英]pure css hover show another element possible?
<a href="">
text here always show
<div style="display:none;">
hide text here
</div>
</a>
a:hover{
//when hover show 'hide text here' ; when not hover, hide it again
}
可以用纯css来做这个效果吗?
a div {
display: none;
}
a:hover div {
display: block;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.