zoukankan      html  css  js  c++  java
  • css动画+照片清晰度动画

    源代码:

    <!DOCTYPE html>
    <html>
    <head>
    <title>donghua</title>
    <meta charset="utf-8">
    <style type="text/css">
    .beijing{
    border: 1px solid black;
    100%;
    height: 800px;
    background: black;
    }
    .a1 img{
    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%{ 200px;height: 200px;-webkit-filter:blur(4px);}
    25%{ 400px;height: 400px;-webkit-filter:blur(3px);}
    80%{ 600px;height: 600px;-webkit-filter:blur(2px);}
    100%{ 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>
    <div class="beijing">
    <div class="a1 qq"><img src="43a7d933c895d143b233160576f082025aaf074a.jpg"></div>
    <div class="a1 ww"><img src="03087bf40ad162d9ec74553b14dfa9ec8a13cd7a.jpg"></div>
    <div class="a1 ss"><img src="b151f8198618367ac7d2a1e92b738bd4b31ce5af.jpg"></div>
    <div class="a1 tt"><img src="023b5bb5c9ea15cec72cb6d6b2003af33b87b22b.jpg"></div>
    <div class="a1 oo"><img src="c2cec3fdfc03924578c6cfe18394a4c27c1e25e8.jpg"></div>
    </div>
    </body>
    </html>

  • 相关阅读:
    mysql排序
    MySQL命令行导出数据库
    os.path python使用遍历文件夹文件
    linux后台运行和关闭、查看后台任务
    WebDriver中自动识别验证码--Python实现
    一起学react (1) 10分钟 让你dva从入门到精通
    git命令大全
    jQuery中的100个技巧(译)
    Flow入门初识
    深入理解typescript的Functions
  • 原文地址:https://www.cnblogs.com/yzybc/p/5668053.html
Copyright © 2011-2022 走看看