zoukankan      html  css  js  c++  java
  • CSS3简单的动画

    Fix Bug
    <style>
    .demo{
            width:80px;
            height:80px;
            text-align:center;
            line-height:80px;
            background:#f80;
            border:3px solid #eee;
            color:#fff;
            -webkit-animation: animate 3s .5s ease infinite alternate;
            -moz-animation: animate 3s .5s ease infinite alternate;
        }
    @-webkit-keyframes animate{
            from {
                background:#f00;
                -webkit-transform:translate(0px) rotate(0deg);
                }
            to {
                background:#33C;
                -webkit-transform:translate(200px) rotate(360deg);
                }
        }
    @-moz-keyframes animate{
            from {
                background:#f00;
                -moz-transform:translate(0px) rotate(0deg);
                }
            to {
                background:#33C;
                -moz-transform:translate(200px) rotate(360deg);
                }
        }        
    </style>

    <div class="demo">Fix Bug</div>

  • 相关阅读:
    如何修改容器内的/etc/resolv.conf
    OpenShift DNS的机制
    OpenShift 容器日志和应用日志分离问题
    python办公自动化(一)PPTX
    python装饰器 语法糖
    一步一步FLASK(一)
    linux python 安装 pymssql
    定制flask-admin的主页
    复制pycharm虚拟环境
    离线安装pycharm数据库驱动
  • 原文地址:https://www.cnblogs.com/fixbug/p/4007380.html
Copyright © 2011-2022 走看看