• 小球落下的动画


    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            .outer{
                height: 300px;
                border-bottom: 10px solid black;
                margin: 0 auto;
                overflow: hidden;
            }
            .box2{
                 50px;
                height: 50px;
                border-radius: 50%;
                background-color: chartreuse;
                animation:boll 3s forwards ease-in infinite;
            }
            @keyframes boll {
                from{
                    margin-top: 0px;
                }
                33%{
                    margin-top: 250px;
                }
                66%{
                    margin-top: 100px;
                    animation-timing-function: ease-out;
                }
                to{
                    animation-timing-function: ease-in;
                    margin-top: 250px;
                }
            }
        </style>
    </head>
    <body>
        <div class="outer">
            <div class="box2"></div>
        </div>
    </body>
    </html>
  • 相关阅读:
    Ananagrams(反片语)【map的应用】P114
    并查集初步——
    预处理器,编译器,汇编器,连接器
    https://pta.patest.cn/pta/test/15/exam/3/question/724
    stl入门--reverse函数
    无向图的深度遍历
    01背包
    动态规划——数字三角形(递归or递推or记忆化搜索)
    八皇后问题
    幂集的计算
  • 原文地址:https://www.cnblogs.com/kukai/p/12321502.html
Copyright © 2020-2023  润新知