当前位置:网站首页>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 :
边栏推荐
- Limited query of common SQL operations
- The server time zone value ‘� й ��� ʱ 'is unrecognized or representatives more than one time zone【
- JS implementation determines whether the point is within the polygon range
- Hedhat firewall
- Some query constructors in laravel (2)
- phpstrom设置函数注释说明
- Do you know the eight signs of a team becoming agile?
- Flutter 2.10 update details
- Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
- JVM - when multiple threads initialize the same class, only one thread is allowed to initialize
猜你喜欢
How to build a technical team that will bring down the company?
JS implementation determines whether the point is within the polygon range
Hedhat firewall
JVM's responsibility - load and run bytecode
Nebula Importer 数据导入实践
Kibana installation and configuration
R语言用logistic逻辑回归和AFRIMA、ARIMA时间序列模型预测世界人口
JVM - when multiple threads initialize the same class, only one thread is allowed to initialize
Comment mettre en place une équipe technique pour détruire l'entreprise?
微信小程序:独立后台带分销功能月老办事处交友盲盒
随机推荐
Logstash、Fluentd、Fluent Bit、Vector? How to choose the appropriate open source log collector
Common bit operation skills of C speech
220213c language learning diary
增量备份 ?db full
If the consumer Internet is compared to a "Lake", the industrial Internet is a vast "ocean"
Database postragesq BSD authentication
Five ways to query MySQL field comments!
JVM's responsibility - load and run bytecode
微信小程序:全新独立后台月老办事处一元交友盲盒
【LeetCode】88. Merge two ordered arrays
Wechat applet: Xingxiu UI v1.5 WordPress system information resources blog download applet wechat QQ dual end source code support WordPress secondary classification loading animation optimization
Complex, complicated and numerous: illustration of seven types of code coupling
Win: use PowerShell to check the strength of wireless signal
Include rake tasks in Gems - including rake tasks in gems
Wechat applet: exclusive applet version of the whole network, independent wechat community contacts
Comment mettre en place une équipe technique pour détruire l'entreprise?
Li Kou Jianzhi offer -- binary tree chapter
The MySQL team development specifications used by various factories are too detailed. It is recommended to collect them!
Win: add general users to the local admins group
流批一體在京東的探索與實踐