html+css图片下弹出蒙版html+css图片下弹出蒙版鼠标移入时弹出蒙版!!!

html<!DOCTYPE html<html lang="en"<head>

                        </div>
<h5>hufef ef</h5>
</div>


</a>
</li>






</ul>
</div>
</div>

</body>
</html>

css:
*{
margin: 0;
padding: 0;
}


.mu1{
width: auto;
}
.mu2{
width: 1200px;
height: 400px;
margin: auto;
}
ul{
width: 1200px;
height: 230px;
border: 1px solid red;

}
ul li{
width: 25%;
list-style: none;
float: left;
position: relative;
overflow: hidden;
}
.zi{
position: absolute;
left: 0;
bottom: -100px;
width: 100%;
height: 100px;
background-color: transparent;
}
.tu1{
float: left;
}
h5{
float: left;
}
ul li:hover .zi{
background-color: black;
opacity: .5;
left: 0;
bottom: 0;
transition: all linear 1s;
}



相关文章:

  • 2021-06-19
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2021-09-10
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
相关资源
相似解决方案