<!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 >
			<img src="img/jinbi.jpg" />
			<div class="flash"></div>
		</div>
	</body>
</html>

 闪光灯效果

 

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2021-08-25
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2022-01-01
  • 2021-05-21
相关资源
相似解决方案