css+js实现火盆中火焰燃烧动画效果代码
代码语言:html
所属分类:动画
代码描述:css+js实现火盆中火焰燃烧动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html>
<head>
<style>
body {
margin: 0;
overflow: hidden;
background-color: #1a1a1a;
}
.center {
position: absolute;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
canvas {
position: absolute;
}
.gooeys {
width: 100%;
height: 100%;
-webkit-filter: url('#filter');
filter: url('#filter');
}
.bg {
width: 390px;
height: 390px;
background-color: white;
border-radius: 50%;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.pot {
box-sizing: border-box;
width: 250px;
height: 120px;
top: 100px;
background: -webkit-radial-gradient(#121, #111 45%);
background: radial-gradient(#121, #111 45%);
border-radius: 25px 25px 80px 80px;
.........完整代码请登录后点击上方下载按钮下载查看
网友评论0