• Animation同时改变多个属性的动画


    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Animation同时改变多个属性的变化</title>
        <style>
            div {
            150px;
            height:150px;
            background:#4cff00;
            border:3px solid #000000;
            position:absolute;
            left:200px;
            top:300px;
            }
            /*定义一个关键帧*/
            @-webkit-keyframes 'xiaolei' {
                    0%
                {
                    -webkit-transform:rotate(0deg) scale(1);
                    background-color:#4cff00;
                }
                    40% {
                    -webkit-transform:rotate(720deg) scale(1.5);
                    background-color:#f00;
                    }
            70% {
             -webkit-transform:rotate(1080deg) scale(2.5);
                    background-color:#ffd800;
            }
                100% {
                    -webkit-transform:rotate(0deg) scale(1);
                    background-color:#4cff00;
                }
            }
            div:hover {
            -webkit-animation-name:'xiaolei';
            -webkit-animation-duration:8s;
            -webkit-animation-interation-count:1;
            }
        </style>
    </head>
    <body>
        <div>鼠标悬停,开始动画</div>
    </body>
    </html>

  • 相关阅读:
    网易官方」极客战记(codecombat)攻略-沙漠-跟上时间-keeping-time
    jenkins 通过使用crumbissuer停止job
    获取crumbIssuer
    解决docker容器vim高度宽度显示不正常
    嵌入skype标签
    pip --user参数
    python requests模块和 urllib.request模块
    python字符识别
    bs4解析xml文件,制作xml文件
    jenkins api
  • 原文地址:https://www.cnblogs.com/xiaoleidiv/p/3163813.html
Copyright © 2020-2023  润新知