×

CSS3光圈散开提示效果

作者:ceshi2018.03.06来源:Web前端之家浏览:27447评论:0
关键词:CSS3发光

CSS3光圈散开提示效果,看DEMO,你懂的。

<!DOCTYPE html>
<html>

<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">
    <title>transparent</title>
    <style>
        body {
            background: black;
        }

        

        .wrap{
            height: 500px;
        }

        .shan {
            position: absolute;
            top: 0px;
            left: 0px;
            right:0px;
            bottom: 0px;
            margin: auto;

            
            
            
            background: rgb(255, 230, 0);
             width: 100px; 
            height: 100px;
            border-radius: 100%;
            animation: show-animation 2s ease-in-out 0s infinite;
            -moz-animation: show-animation 2s ease-in-out 0s infinite;
            -webkit-animation: show-animation 2s ease-in-out 0s infinite;
        }

        @keyframes show-animation{
            0%{
                transform: scale(0);
                -moz-transform: scale(0);
                -webkit-transform: scale(0);
            }
            100%{
                transform: scale(1);
                -moz-transform: scale(1);
                -webkit-transform: scale(1);
                opacity: 0;
            }
        }

        p {
            display: inline-block;
            
            color: #fff;
            width: 100px;
            height: 20px;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -50px;
            margin-top: -10px;
        }
    </style>
</head>

<body>
    <div class="div-border">

    </div>

    <div class="wrap">
        <div class="shan"></div>
        <p>提醒用户点击</p>
    </div>
</body>

</html>


您的支持是我们创作的动力!
温馨提示:本文作者系 ,经Web前端之家编辑修改或补充,转载请注明出处和本文链接:
https://www.jiangweishan.com/article/CSS3213123123123123.html

网友评论文明上网理性发言 已有0人参与

发表评论:

最新留言

  • jianj

    node看上有点复杂...

  • 访客

    正好遇到,谢谢分享...

  • jimmy

    这个很有趣,国内SEO更多的是百度...

  • jenny

    VUE的总结的不错啊,收藏了。下次搞点React的啊...

  • jenny

    win7最经典,想当初win8出来后都没它好用,怀恋经典。。。...

  • Terry

    谢谢提醒,插件已经修复。...

  • 访客

    士大夫士大夫...

  • 访客

    用這甚麼顏色...

首页|JavaScript|HTML|HTML4|HTML5|CSS3|开发工具|性能优化|移动开发|前端教程|性能优化|开发工具|酷站欣赏|UI设计|前端教程

Copyright © 2023 Web前端之家(www.jiangweishan.com) 版权所有 All Rights Reserved.
粤ICP备12067512号-1

Copyright Your WebSite.Some Rights Reserved.

Powered By Z-BlogPHP 1.7.2