国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

css動畫+照片清晰度動畫的實現方法

2024-07-11 08:32:39
字體:
來源:轉載
供稿:網友

實例如下:

源代碼:

XML/HTML Code復制內容到剪貼板
  1. <!DOCTYPE html>   <html>  
  2. <head>   <title>donghua</title>  
  3. <meta charset="utf-8">   <style type="text/css">  
  4. .beijing{    border: 1px solid black;   
  5. width: 100%;    height: 800px;   
  6. background: black;    }   
  7. .a1 img{    width: 100px;   
  8. height: 100px;    -webkit-filter: blur(2px);   
  9. }    .qq{   
  10. position: absolute;    left: 500px;   
  11. top: 150px;    }   
  12. .qq img:hover{    animation-name: one;   
  13. animation-duration: 3s;    animation-fill-mode: forwards;   
  14. }    @keyframes one{   
  15. 0%{width: 200px;height: 200px;-webkit-filter:blur(4px);}    25%{width: 400px;height: 400px;-webkit-filter:blur(3px);}   
  16. 80%{width: 600px;height: 600px;-webkit-filter:blur(2px);}    100%{width: 800px;height: 800px;-webkit-filter:blur(0px);}   
  17. }    .ww{   
  18. position: absolute;    left: 540px;   
  19. top: 180px;    }   
  20. .ww img:hover{    animation-name: one;   
  21. animation-duration: 5s;    animation-fill-mode: forwards;   
  22. }    .ss{   
  23. position: absolute;    left: 550px;   
  24. top: 240px;    }   
  25. .ss img:hover{    animation-name: one;   
  26. animation-duration: 5s;    animation-fill-mode: forwards;   
  27. }    .tt{   
  28. position: absolute;    left: 560px;   
  29. top: 260px;    }   
  30. .tt img:hover{    animation-name: one;   
  31. animation-duration: 5s;    animation-fill-mode: forwards;   
  32. }    .oo{   
  33. position: absolute;    left: 590px;   
  34. top: 300px;    }   
  35. .oo img:hover{    animation-name: one;   
  36. animation-duration: 5s;    animation-fill-mode: forwards;   
  37. }    </style>  
  38. </head>   <body>  
  39. <div class="beijing">   <div class="a1 qq"><img src="43a7d933c895d143b233160576f082025aaf074a.jpg"></div>  
  40. <div class="a1 ww"><img src="03087bf40ad162d9ec74553b14dfa9ec8a13cd7a.jpg"></div>   <div class="a1 ss"><img src="b151f8198618367ac7d2a1e92b738bd4b31ce5af.jpg"></div>  
  41. <div class="a1 tt"><img src="023b5bb5c9ea15cec72cb6d6b2003af33b87b22b.jpg"></div>   <div class="a1 oo"><img src="c2cec3fdfc03924578c6cfe18394a4c27c1e25e8.jpg"></div>  
  42. </div>   </body>  
  43. </html>  
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 聂荣县| 黔西| 沂水县| 高雄市| 边坝县| 江西省| 甘谷县| 准格尔旗| 当雄县| 元阳县| 凤庆县| 贵定县| 扶绥县| 宁阳县| 新巴尔虎右旗| 康定县| 阳信县| 页游| 峨眉山市| 临城县| 济宁市| 寿宁县| 江安县| 金塔县| 腾冲县| 云龙县| 龙胜| 高邑县| 奉节县| 镇巴县| 佛冈县| 织金县| 永春县| 剑阁县| 洪泽县| 贡觉县| 大关县| 健康| 黄龙县| 富源县| 阳信县|