鼠标经过图片hover放大效果完整案例

<!doctype html> <html> <head> <meta charset="utf-8"> <title>鼠标hover放大效果</title> <script src="http://libs.baidu.com/jquery/1.11.3/jquery...
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>鼠标hover放大效果</title>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<style>
.box{
	width: 200px;
	height:200px;
	overflow: hidden;
	float: left;
	margin-right: 10px;
}
img{
	width: 200px;
	height:200px;
	transition: transform 1.6s;
}
img:hover{
	transform: scale(2.0);
}
</style>
</head>
<body>
<div class="box">
	<img src="http://www.duanlonglong.com/uploads/allimg/190216/1-1Z216121134V6.png">
</div>
<div class="box">
	<img src="http://www.duanlonglong.com/uploads/allimg/190216/1-1Z216121134V6.png">
</div>
<div class="box">
	<img src="http://www.duanlonglong.com/uploads/allimg/190216/1-1Z216121134V6.png">
</div>
<div class="box">
	<img src="http://www.duanlonglong.com/uploads/allimg/190216/1-1Z216121134V6.png">
</div>
<div class="box">
	<img src="http://www.duanlonglong.com/uploads/allimg/190216/1-1Z216121134V6.png">
</div>
</body>
</html>

attachments-2020-06-A1s59R0q5ef5fd1013b1b.png

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
admin
admin

651 篇文章

作家榜 »

  1. admin 651 文章
  2. 粪斗 185 文章
  3. 王凯 92 文章
  4. 廖雪 78 文章
  5. 牟雪峰 12 文章
  6. 李沁雪 9 文章
  7. 全易 2 文章
  8. Stevengring 0 文章