闪光灯效果
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
*{
padding: 0;
margin: 0;
}
#hd{
width: 600px;
height: 360px;
margin: 100px auto;
overflow: hidden;
position: relative;
}
#hd img{
width: 100%;
}
#hd .flash{
width: 30px;
height: 360px;
background: -moz-linear-gradient(left,transparent,rgba(255,255,255,0.8),rgba(0,0,0,0));
position: absolute;
left: -135px;
/*left: 704px;*/
top: 0px;
transform: skew(-30deg);
}
#hd:hover .flash{
left: 704px;
transition: all 1s;
}
</style>
</head>
<body>
<div id="hd">
<img src="img/jinbi.jpg" />
<div class="flash"></div>
</div>
</body>
</html>


浙公网安备 33010602011771号