• css 点击样式,水波纹(记录备用)


    <!DOCTYPE html>
    <html lang="en">

    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <title>Document</title>
    <style>
    .ripple {
    position: relative;
    overflow: hidden;
    }
    .ripple:after {
    content: "";
    display: block;
    position: absolute;
    100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #666 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .3s, opacity .5s;
    }
    .ripple:active:after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
    }
    </style>
    </head>

    <body>
    <div class="container text-center">
    <button class="btn btn-default ripple btn-lg">Button</button>
    <button class="btn btn-default ripple btn-lg">Button with very long content</button>
    </div>

    </body>

    </html>

  • 相关阅读:
    python shellcod加载器修改特征值
    python shellcode 分析二
    python shellcode分析
    Hadoop综合大作业1
    Hadoop综合大作业
    分布式文件系统HDFS
    安装Hadoop
    爬虫综合大作业
    爬取全部的校园新闻
    理解爬虫原理
  • 原文地址:https://www.cnblogs.com/tiandi0808/p/11268210.html
Copyright © 2020-2023  润新知