svg+css+js实现数据流量流动示意图动画效果代码
代码语言:html
所属分类:动画
代码描述:svg+css+js实现数据流量流动示意图动画效果代码
代码标签: svg css js 数据 流量 流动 示意图 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.5.0.css">
<style>
@charset "UTF-8";
body {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
z-index: 0;
position: relative;
display: flex;
align-items: center;
width: 1080px;
height: 400px;
overflow: hidden;
background: url("//repo.bfw.wiki/bfwrepo/images/xiangce/OJYTLba8CQweWIq.png") no-repeat;
background-size: cover;
}
.container .logos {
display: flex;
align-items: center;
width: 400px;
height: 320px;
overflow: hidden;
border-radius: 0 200px 200px 0;
background: radial-gradient(166.55% 283.86% at -39.88% 50%, rgba(255, 255, 255, 0) 65.64%, rgba(0, 238, 255, 0.48) 99%);
}
.container .logos .logos-wrap img {
height: 40px;
}
.container .logos .logos-wrap .box {
display: flex;
width: 100%;
justify-content: space-around;
margin-bottom: 30px;
}
.container .logos .logos-wrap .box:last-child {
margin: unset;
}
.container .shenzhi-logo {
position: relative;
left: -60px;
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
border-radius: 100px;
box-shadow: 0px 0px 40px rgba(164, 168, 197, 0.24);
background-color: white;
}
.container .shenzhi-logo img {
z-index: 99;
width: 60px;
}
.container .account {
position: relative;
left: 90px;
}
.container .lines {
position: absolute;
width: 482px;
height: 100%;
z-index: -1;
left: 423px;
top: 107px;
}
.container .lines .line-1 svg {
position: absolute;
}
.container .lines .line-1 svg:nth-of-type(3) {
position: absolute;
right: 0;
top: 1px;
}
.container .lines .line-2 {
position: absolute;
top: -49px;
}
.container .lines .line-2 svg {
position: absolute;
}
.container .lines .line-3 {
position: absolute;
top: 40px;
}
.container .lines .line-3 svg {
position: absolute;
}
.container .lines .line-3 svg:nth-of-type(3) {
position: relative;
right: -89%;
top: 87px;
}
.results {
position: absolute;
right: 150px;
z-index: 99;
}
.results .icon {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 52px;
height: 52px;
background: #ffffff;
box-shadow: 0px 8px 40px rgba(164, 168, 197, 0.4);
border-radius: 59px;
margin-bottom: 38px;
}
.results .icon::after {
position: absolute;
right: -100%;
content: "";
display: block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 500;
font-size: 16px;
line-height: 16px;
color: #3b426b;
}
.results .icon:last-child {
margin-bottom: unset;
}
.results .icon:nth-of-type(1)::after {
content: "下单";
}
.results .icon:nth-of-type(2)::after {
content: "领劵";
}
.results .icon:nth-of-type(3)::after {
content: "发帖";
}
.results .icon:nth-of-type.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0