龙空技术网

CSS实现炫酷的大数据热点图

LetCode 58

前言:

现在兄弟们对“html热点链接”都比较注意,朋友们都需要分析一些“html热点链接”的相关内容。那么小编在网上网罗了一些对于“html热点链接””的相关文章,希望小伙伴们能喜欢,兄弟们一起来了解一下吧!

CSS3为我们提供了很多特性,利于旋转、位移、缩放能实现很多的动画,下面介绍一个大数据热点图的demo,以下为效果图:

效果图

<div class="redian">    <div class="dotted"></div>    <div class="round1"></div>    <div class="round2"></div>    <div class="round3"></div></div>
.dotted {    width: 8px;    height: 8px;    background-color: rgb(12, 179, 230);    border-radius: 50%;}@keyframes round {    0%{}    60%{        width: 40px;        height: 40px;        opacity: 1;    }    100%{        width: 70px;        height: 70px;        opacity: 0;    }}.redian div[class^="round"] {    position: absolute;    top: 50%;    left: 50%;    transform: translate(-50%, -50%);    width: 8px;    height: 8px;    box-shadow: 0 0 12px rgb(12, 179, 230);    border-radius: 50%;    animation: round 1.2s linear infinite;}.redian div.round2 {    animation-delay: 0.4s;}.redian div.round3 {    animation-delay: 0.8s;}

以上为核心的CSS代码,更多精彩内容请关注公众号:Let编程

标签: #html热点链接