實例如下: #原始碼: donghua .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; } 登入後複製 以上這篇css動畫+照片清晰度動畫的實現方法就是小編分享給大家的全部內容了,希望能給大家一個參考,也希望大家多多支持PHP中文網。 更多css動畫和照片清晰度動畫的實作方法介紹相關文章請關注PHP中文網!