Neumorphism新拟态设计波纹扩大动画效果代码

代码语言:html

所属分类:动画

代码描述:Neumorphism新拟态设计波纹扩大动画效果代码

代码标签: Neumorphism 新拟态 设计 波纹 扩大 动画

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        body {
          margin: 0;
          padding: 0;
          display: flex;
          justify-content: center;
          align-items: center;
          height: 100vh;
        }
        .ripple {
          position: relative;
        }
        .ripple span {
          position: absolute;
          top: 0;
          left: 0;
          transform: translate(-50%, -50%);
          width: 0;
          height: 0;
          border-radius: 50%;
          animation: animate 5s linear infinite;
        }
        .ripple span:nth-child(1)
        {
          animation-delay: .5s;
        }
        .ripple span:nth-child(2)
        {
          animation-delay: 1s;
        }
        .ripple span:nth-child(3)
        {
          animation-delay: 1.5s;
        }
        .ripple span:nth-child(4)
        {
          animation-delay: 2s;
        }
        .ripple span:nth-child(5)
        {
          animation-delay: 2.5s;
        }
        .ripple span:nth-child(6)
        {
          animation-delay: 3s;
        }
        .ripple span:nth-child(7)
        {
          animation-delay: 3.5s;.........完整代码请登录后点击上方下载按钮下载查看

网友评论0