国产探花免费观看_亚洲丰满少妇自慰呻吟_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>  
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 高唐县| 温宿县| 通河县| 南木林县| 沽源县| 贞丰县| 天门市| 镇原县| 唐河县| 长子县| 平江县| 安吉县| 南涧| 大丰市| 徐州市| 青海省| 富宁县| 镇坪县| 湟源县| 区。| 法库县| 旌德县| 长兴县| 康马县| 宜昌市| 缙云县| 古交市| 墨竹工卡县| 巴林右旗| 临猗县| 祁阳县| 阜平县| 新龙县| 沙洋县| 襄垣县| 威信县| 惠水县| 昌乐县| 南部县| 沛县| 安义县|