单个div+css实现火山喷发动画效果代码

代码语言:html

所属分类:动画

代码描述:单个div+css实现火山喷发动画效果代码

代码标签: css 火山 喷发 动画

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">





    <style>
        * {
          margin: 0px;
          padding: 0px;
          box-sizing: border-box;
          transform-style: preserve-3d;
          backface-visibility: hidden;
          outline: 1px solid rgba(255,255,255,0);
          -webkit-tap-highlight-color: rgba(255,255,255,0);
        }
        
        *:before,
        *:after{
         content: '';
         display: block;
         position: absolute;
        }
        
        html, body {
          width: 100vw;
          height: 100vh;
          background: rgba(27,24,32,1);
        }
        
        body{
          width: 600px;
          height: 480px;
          margin: calc(50vh - 240px) auto 0 auto;
          display: flex;
          align-items: center;
          justify-content: center;
          transform-origin: bottom;
          border-radius: 50%;
          ani.........完整代码请登录后点击上方下载按钮下载查看

网友评论0