当前位置:网站首页>Video display and hiding of imitation tudou.com
Video display and hiding of imitation tudou.com
2022-07-05 01:49:00 【dengfengling999】
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.tudo {
position: relative;
width: 444px;
height: 320px;
background-color: pink;
margin: 30px auto;
}
.tudo img {
width: 100%;
height: 100%;
}
.mask {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .4) url(images/g.png) no-repeat center;
}
/* When the mouse passes the potato box , Let the mask layer show */
.tudo:hover .mask {
display: block;
}
</style>
</head>
<body>
<div class="tudo">
<div class="mask"></div>
<img src="images/photo.jpg" alt="">
</div>
</body>
</html>result :

When the mouse clicks :
边栏推荐
- Practice of tdengine in TCL air conditioning energy management platform
- Exploration and Practice of Stream Batch Integration in JD
- Blue Bridge Cup Square filling (DFS backtracking)
- Wechat applet: new independent backstage Yuelao office one yuan dating blind box
- JVM's responsibility - load and run bytecode
- Win: use shadow mode to view the Desktop Session of a remote user
- Outlook: always prompt for user password
- MySQL backup and recovery + experiment
- 85.4% mIOU! NVIDIA: using multi-scale attention for semantic segmentation, the code is open source!
- Wechat applet: exclusive applet version of the whole network, independent wechat community contacts
猜你喜欢

JVM's responsibility - load and run bytecode

微信小程序:独立后台带分销功能月老办事处交友盲盒

Introduction to redis (1)

线上故障突突突?如何紧急诊断、排查与恢复

phpstrom设置函数注释说明

Complex, complicated and numerous: illustration of seven types of code coupling

Win: use PowerShell to check the strength of wireless signal

The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns

Incremental backup? db full

【LeetCode】88. Merge two ordered arrays
随机推荐
Armv8-a programming guide MMU (3)
JVM's responsibility - load and run bytecode
Using openpyxl module to write the binary list into excel file
流批一體在京東的探索與實踐
DOM basic syntax
The server time zone value ‘� й ��� ʱ 'is unrecognized or representatives more than one time zone【
PowerShell:在代理服务器后面使用 PowerShell
PHP Basics - detailed explanation of DES encryption and decryption in PHP
MySQL backup and recovery + experiment
batchnorm. Py this file single GPU operation error solution
Li Kou Jianzhi offer -- binary tree chapter
官宣!第三届云原生编程挑战赛正式启动!
MySQL REGEXP:正则表达式查询
Database postragesq BSD authentication
Remote control service
How to build a technical team that will bring down the company?
Go RPC call
小程序容器技术与物联网 IoT 可以碰撞出什么样的火花
JS implementation determines whether the point is within the polygon range
The application and Optimization Practice of redis in vivo push platform is transferred to the end of metadata by