最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

css动画和照片清晰度动画的实现方法介绍

来源:动视网 责编:小采 时间:2020-11-27 18:52:53
文档

css动画和照片清晰度动画的实现方法介绍

css动画和照片清晰度动画的实现方法介绍:实例如下:源代码:<!DOCTYPE html> <html> <head> <title>donghua</title> <meta charset="utf-8"> <style type="text/css"> .bei
推荐度:
导读css动画和照片清晰度动画的实现方法介绍:实例如下:源代码:<!DOCTYPE html> <html> <head> <title>donghua</title> <meta charset="utf-8"> <style type="text/css"> .bei
 实例如下:

源代码:

<!DOCTYPE html>
<html>
<head>
<title>donghua</title>
<meta charset="utf-8">
<style type="text/css">
.beijing{ 
border: 1px solid black; 
width: 100%; 
height: 800px; 
background: black; 
} 
.a1 img{ 
width: 100px; 
height: 100px; 
-webkit-filter: blur(2px); 
} 
.qq{ 
position: absolute; 
left: 500px; 
top: 150px; 
} 
.qq img:hover{ 
animation-name: one; 
animation-duration: 3s; 
animation-fill-mode: forwards; 
} 
@keyframes one{ 
0%{width: 200px;height: 200px;-webkit-filter:blur(4px);} 
25%{width: 400px;height: 400px;-webkit-filter:blur(3px);} 
80%{width: 600px;height: 600px;-webkit-filter:blur(2px);} 
100%{width: 800px;height: 800px;-webkit-filter:blur(0px);} 
} 
.ww{ 
position: absolute; 
left: 540px; 
top: 180px; 
} 
.ww img:hover{ 
animation-name: one; 
animation-duration: 5s; 
animation-fill-mode: forwards; 
} 
.ss{ 
position: absolute; 
left: 550px; 
top: 240px; 
} 
.ss img:hover{ 
animation-name: one; 
animation-duration: 5s; 
animation-fill-mode: forwards; 
} 
.tt{ 
position: absolute; 
left: 560px; 
top: 260px; 
} 
.tt img:hover{ 
animation-name: one; 
animation-duration: 5s; 
animation-fill-mode: forwards; 
} 
.oo{ 
position: absolute; 
left: 590px; 
top: 300px; 
} 
.oo img:hover{ 
animation-name: one; 
animation-duration: 5s; 
animation-fill-mode: forwards; 
} 
</style>
</head>
<body>
<p class="beijing">
<p class="a1 qq"><img src="43a7d933c5d143b233160576f082025aaf074a.jpg"></p>
<p class="a1 ww"><img src="03087bf40ad162d9ec74553b14dfa9ec8a13cd7a.jpg"></p>
<p class="a1 ss"><img src="b151f8198618367ac7d2a1e92b738bd4b31ce5af.jpg"></p>
<p class="a1 tt"><img src="023b5bb5c9ea15cec72cb6d6b2003af33b87b22b.jpg"></p>
<p class="a1 oo"><img src="c2cec3fdfc03924578c6cfe18394a4c27c1e25e8.jpg"></p>
</p>
</body>
</html>

以上这篇css动画+照片清晰度动画的实现方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持PHP中文网。

更多css动画和照片清晰度动画的实现方法介绍相关文章请关注PHP中文网!

文档

css动画和照片清晰度动画的实现方法介绍

css动画和照片清晰度动画的实现方法介绍:实例如下:源代码:<!DOCTYPE html> <html> <head> <title>donghua</title> <meta charset="utf-8"> <style type="text/css"> .bei
推荐度:
标签: 图片 动画 实现
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top