animat实现开花动画

代码语言:html

所属分类:动画

代码描述:animat实现开花动画

代码标签: 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: hsl(40, 45%, 80%);
  color: hsl(0, 0%, 15%);
}
svg {
  color: hsl(0, 0%, 20%);
  width: 80vw;
  max-width: 35rem;
  width: 100%;
  height: auto;
  display: block;
}
svg#bee {
  color: hsl(0, 0%, 10%);
  position: absolute;
  width: 50px;
  height: auto;
}
</style>
<script>
  window.console = window.console || function(t) {};
</script>
<script>
  if (document.location.search.match(/type=embed/gi)) {
    window.parent.postMessage("resize", "*");
  }
</script>
</head>
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0