qq_大执_0
2017-07-18 14:26
qwq 嘤~
a:hover:before{
opacity:0;
}
这是鼠标移动到a::before之上透明度为0
a::before{
content:"";
display: block;
height: 120px;
width: 120px;
border: 5px solid #fff;
border-radius: 50%;
position: absolute;
left: 50%;
margin-left: -60px;
z-index: 99999;
top: -80px;
background: rgba(0,0,0,0.3);
}
background: rgba(0,0,0,0.3);最后0.3是设置透明度
十天精通CSS3
243041 学习 · 2668 问题
相似问题