kute+svg实现火苗动画效果代码
代码语言:html
所属分类:动画
代码描述:kute+svg实现火苗动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { background: #422; margin: 0; height: 100vh; } svg { margin: auto; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: calc(260px + 5vw); } </style> </head> <body > <svg viewbox="0 0 80 100"> <circle class="part part0" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part1" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part2" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part3" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part4" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part5" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part6" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part7" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part8" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part9" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part10" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part11" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part12" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part13" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part14" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part15" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part16" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part17" cx="40" cy="100" r="10" opacity="0"></circle> <circle class="part part18" cx="40" cy="100" r=".........完整代码请登录后点击上方下载按钮下载查看
网友评论0