gsap+svg实现线性波浪圈圈动画效果代码

代码语言:html

所属分类:动画

代码描述:css实现文字卡片鼠标gsap+svg实现线性波浪圈圈动画效果代码悬浮跟随线性背景光标效果代码

代码标签: gsap svg 线性 波浪 圈圈 动画

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">



    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
        
        
        body {
          background-color: #171b21;
          overflow: hidden;
          font-family: 'Poppins', sans-serif;
          display: flex;
          align-items:center;
          justify-content:center;
          height: 100vh;
        }
        
        .bg-background {
        /*   transform: scale(1.6); */
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
        }
        
        h1 {
          color: white;
          font-size: 64px;
        }
    </style>

</head>

<body>
    <svg class="bg-background" width="1111" height="1237" viewBox="0 0 1111 1237" fill="none" xmlns="http://www.w3.org/2000/svg">
  <g id="Group 1">
    <path class="vector-line" id="Vector" opacity="0.8" d="M572.3 935.5C561.2 935.5 550.1 933 539.9 928L321 821.2C297.3 809.6 281.4 786.1 279.6 759.8L262.6 516.8C260.8 490.5 273.2 465 295.1 450.2L497 314C518.9 299.2 547.2 297.3 570.9 308.8L789.8 415.6C813.5 427.2 829.4 450.7 831.2 477L848.2 720C850 746.3 837.6 771.8 815.7 786.6L613.8 922.........完整代码请登录后点击上方下载按钮下载查看

网友评论0