TweenMax+jquery-ui实现动态炫酷饼图动画显示效果代码
代码语言:html
所属分类:图表
代码描述:TweenMax+jquery-ui实现动态炫酷饼图动画显示效果代码
代码标签: TweenMax jquery-ui 动态 炫酷 饼图 动画
下面为部分代码预览,完整代码请点击下载或在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-color: #4285F4;
background: linear-gradient(to right, #ed30a0 0%, #0b86a6 100%);
}
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%;
transform: translate(-50%, -50%);
width: 750px;
height: 500px;
}
svg {
width: 100%;
height: 100%;
visibility: hidden;
}
.sans-light {
font-family: "open-sans", sans-serif;
font-weight: 300;
font-style: normal;
}
.sans-semi {
font-family: "open-sans", sans-serif;
font-weight: 600;
font-style: normal;
}
.serif {
font-family: "ff-meta-serif-web-pro", serif;
font-weight: 500;
font-style: normal;
}
.me {
position: fixed;
z-index: 1000;
top: 24px;
left: 24px;
display: flex;
flex-direction: column;
}
.me__link {
position: relative;
margin-bottom: 16px;
color: white;
font-family: Helvetica, sans-serif;
text-decoration: none;
font-size: 16px;
}
.me__link span {
display: block;
position: absolute;
bottom: -3px;
left: 0;
height: 1px;
width: 5%;
background-color: white;
content: "";
transition: width 0.3s;
}
.me__link:hover span {
width: 1.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0