css实现贝塞尔曲线球动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现贝塞尔曲线球动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
html, body {
background: #222;
overflow: hidden;
width: 100%;
height: 100%;
}
.view {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-perspective: 0;
perspective: 0;
}
.plane {
width: 200px;
height: 200px;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.plane.main {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
-webkit-transform: rotateX(60deg) rotateZ(-30deg);
transform: rotateX(60deg) rotateZ(-30deg);
-webkit-animation: view 20s infinite linear;
animation: view 20s infinite linear;
}
.plane.main .plane {
position: absolute;
animation: move 10s infinite linear reverse;
}
.plane.main .plane .circle {
-webkit-animation: scale 5s infinite cubic-bezier(0, 1, 1, 1) alternate;
animat.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0