css文字飞入飞出模糊动画效果代码

代码语言:html

所属分类:动画

代码描述:css文字飞入飞出模糊动画效果代码

代码标签: css 文字 飞入 飞出 模糊 动画

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&display=swap');
        body {
          height:100vh;
          font-family: 'Poppins', sans-serif;
          font-size:12vw;
          text-transform: uppercase;
          overflow: hidden;
        }
        .disappear {
          position: absolute;
          left:0;
          right:0;
          margin: auto;
          width:100%;
          text-align: center;
          height:fit-content;
          bottom:0;
          top:0;
        }
        .disappear span {
          display: inline-block;
          color:transparent;
          text-shadow: 0px 0px 0px black;
          animation-duration: 3s;
          animation-iteration-count: infinite;
        }
        .disappear span:nth-child(1){
          animation-name: disappearleft;
        }
        .disappear span:nth-child(2){
          animation-name: disappearleft;
          animation-delay: .3s;
        }
        .disappear span:nth-child(3){
          animation-name: disappearight;
          animation-delay: .6s;
        }
        .disappear span:nth-child(4){
          animation-name: disappearleft;
          animation-delay: .8s;
        }
   .........完整代码请登录后点击上方下载按钮下载查看

网友评论0