gsap实现三维数据参数对比柱状图效果代码
代码语言:html
所属分类:图表
代码描述:gsap实现三维数据参数对比柱状图效果代码头效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/jquery-ui-1.11.0.min.css">
<style>
body {
background-image: -webkit-gradient(linear, left top, right top, from(#005872), to(#a63c92));
background-image: linear-gradient(toright, #005872, #a63c92);
}
body,
html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#slider {
width: 300px;
position: relative;
margin: 30px auto;
}
.container {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 1313px;
height: 679px;
}
svg {
width: 100%;
height: 100%;
visibility: hidden;
}
.sans-semi {
font-family: "open-sans", sans-serif;
font-weight: 600;
font-style: normal;
}
.sans-light {
font-family: 'open-sans', sans-serif;
font-weight: 300;
font-style: normal;
}
.totals-base {
visibility: hidden;
}
</style>
</head>
<body>
<!-- <div id="slider"></div> -->
<div class="container">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1315.22 679">
<defs>
<linearGradient id="linear-gradient" x1="842" y1="501" x2="1315.22" y2="501" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#77578f" />
<stop offset="1" stop-color="#995095" />
</linearGradient>
<linearGradient id="linear-gradient-2" x1="988.22" y1="584" x2="1315.22" y2="584" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#8a5996" />
<stop offset="1" stop-color="#a45499" />
</line.........完整代码请登录后点击上方下载按钮下载查看
网友评论0