温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

css怎么提高动画和照片清晰度

发布时间:2021-08-10 18:03:17 来源:亿速云 阅读:492 作者:chen 栏目:web开发

这篇文章主要讲解了“css怎么提高动画和照片清晰度”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“css怎么提高动画和照片清晰度”吧!

实例如下:

css怎么提高动画和照片清晰度

源代码:

XML/HTML Code复制内容到剪贴板

  1. <!DOCTYPE html>  

  2. <html>  

  3. <head>  

  4. <title>donghua</title>  

  5. <meta charset="utf-8">  

  6. <style type="text/css">  

  7. .beijing{   

  8. border: 1px solid black;   

  9. width: 100%;   

  10. height: 800px;   

  11. background: black;   

  12. }   

  13. .a1 img{   

  14. width: 100px;   

  15. height: 100px;   

  16. -webkit-filter: blur(2px);   

  17. }   

  18. .qq{   

  19. position: absolute;   

  20. left: 500px;   

  21. top: 150px;   

  22. }   

  23. .qq img:hover{   

  24. animation-name: one;   

  25. animation-duration: 3s;   

  26. animation-fill-mode: forwards;   

  27. }   

  28. @keyframes one{   

  29. 0%{width: 200px;height: 200px;-webkit-filter:blur(4px);}   

  30. 25%{width: 400px;height: 400px;-webkit-filter:blur(3px);}   

  31. 80%{width: 600px;height: 600px;-webkit-filter:blur(2px);}   

  32. 100%{width: 800px;height: 800px;-webkit-filter:blur(0px);}   

  33. }   

  34. .ww{   

  35. position: absolute;   

  36. left: 540px;   

  37. top: 180px;   

  38. }   

  39. .ww img:hover{   

  40. animation-name: one;   

  41. animation-duration: 5s;   

  42. animation-fill-mode: forwards;   

  43. }   

  44. .ss{   

  45. position: absolute;   

  46. left: 550px;   

  47. top: 240px;   

  48. }   

  49. .ss img:hover{   

  50. animation-name: one;   

  51. animation-duration: 5s;   

  52. animation-fill-mode: forwards;   

  53. }   

  54. .tt{   

  55. position: absolute;   

  56. left: 560px;   

  57. top: 260px;   

  58. }   

  59. .tt img:hover{   

  60. animation-name: one;   

  61. animation-duration: 5s;   

  62. animation-fill-mode: forwards;   

  63. }   

  64. .oo{   

  65. position: absolute;   

  66. left: 590px;   

  67. top: 300px;   

  68. }   

  69. .oo img:hover{   

  70. animation-name: one;   

  71. animation-duration: 5s;   

  72. animation-fill-mode: forwards;   

  73. }   

  74. </style>  

  75. </head>  

  76. <body>  

  77. <div class="beijing">  

  78. <div class="a1 qq"><img src="43a7d933c895d143b233160576f082025aaf074a.jpg"></div>  

  79. <div class="a1 ww"><img src="03087bf40ad162d9ec74553b14dfa9ec8a13cd7a.jpg"></div>  

  80. <div class="a1 ss"><img src="b151f8198618367ac7d2a1e92b738bd4b31ce5af.jpg"></div>  

  81. <div class="a1 tt"><img src="023b5bb5c9ea15cec72cb6d6b2003af33b87b22b.jpg"></div>  

  82. <div class="a1 oo"><img src="c2cec3fdfc03924578c6cfe18394a4c27c1e25e8.jpg"></div>  

  83. </div>  

  84. </body>  

  85. </html>  

感谢各位的阅读,以上就是“css怎么提高动画和照片清晰度”的内容了,经过本文的学习后,相信大家对css怎么提高动画和照片清晰度这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

css
AI