kute+svg实现火苗动画效果代码

代码语言:html

所属分类:动画

代码描述:kute+svg实现火苗动画效果代码

代码标签: 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="10" opacity="0"></circle>
  <circle class="part part19" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part20" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part21" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part22" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part23" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part24" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part25" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part26" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part27" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part28" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part29" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part30" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part31" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part32" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part33" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part34" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part35" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part36" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part37" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part38" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part39" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part40" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part41" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part42" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part43" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part44" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part45" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part46" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part47" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part48" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part49" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part50" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part51" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part52" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part53" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part54" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part55" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part56" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part57" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part58" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part59" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part60" cx="40" cy="100" r="10" opacity="0"></circle>
  <circle class="part part61" cx="40" cy="100" r="10" opacity="0"></circle>
  &.........完整代码请登录后点击上方下载按钮下载查看

网友评论0