前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【Golang语言社区】前端编程-利用CSS3实现雷达扫描效果图特效

【Golang语言社区】前端编程-利用CSS3实现雷达扫描效果图特效

作者头像
李海彬
发布2018-03-27 10:06:42
8850
发布2018-03-27 10:06:42
举报
文章被收录于专栏:Golang语言社区Golang语言社区

效果图

<!DOCTYPE html>

<html>

<head>

  <meta charset="UTF-8" />

  <title>round</title>

  <style type="text/css">

  .round {

    border: 1px solid rgba(255, 255, 255, 0.5);

    margin: 50px auto;

}

.w300 {

    border-radius: 298px;

    height: 298px;

    margin-top: 0;

    overflow: hidden;

    width: 298px;

}

.w200 {

    border-radius: 200px;

    height: 200px;

    width: 200px;

}

.w100 {

    border-radius: 100px;

    height: 100px;

    width: 100px;

}

.w1 {

    background-color: #fff;

    border-radius: 1px;

    height: 1px;

    position: relative;

    top: -4px;

    width: 1px;

}

.line {

    background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)) repeat scroll 0 0;

    border-left: 1px solid rgba(255, 255, 255, 0.6);

    border-radius: 0 0 150px;

    height: 150px;

    left: 0;

    position: absolute;

    top: 0;

    transform: rotate(0deg);

    transform-origin: 0 0 0;

    width: 150px;

}

.roundMove {

    animation: 3s linear 0s normal both infinite running round;

}



@keyframes round {

100% {

    transform: rotate(360deg);

}

}

@keyframes round {

100% {

    transform: rotate(360deg);

}

}

  </style>

</head>

<body style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; margin: 0px;">

  <div class="round w300">

        <div class="round w200">

            <div class="round w100">

                <div class="round w1">

                    <div class="line roundMove"></div>

                </div>

            </div>

        </div>

    </div>

</body>

</html>
本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2017-05-16,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Golang语言社区 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档