gsap+svg实现钻孔运动动画效果代码

代码语言:html

所属分类:动画

代码描述:gsap+svg实现钻孔运动动画效果代码

代码标签: gsap svg 钻孔 运动 动画

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

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  

<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tailwindcss_3.3.3.js"></script>

  
  
</head>

<body translate="no">
  <main class="bg-neutral-900 grid place-items-center h-screen">
  <section class="h-[400px] w-[400px]">
    <svg class="sphere" viewBox="0 0 440 440" stroke="rgba(80,80,80,.35)">
      <defs>
        <linearGradient id="sphereGradient" x1="5%" x2="5%" y1="0%" y2="15%">
          <stop stop-color="#373734" offset="0%" />
          <stop stop-color="#242423" offset="50%" />
          <stop stop-color="#0D0D0C" offset="100%" />
        </linearGradient>
      </defs>.........完整代码请登录后点击上方下载按钮下载查看

网友评论0