gsap+svg实现弹跳式导航条导航栏效果代码

代码语言:html

所属分类:菜单导航

代码描述: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;500;600;700&display=swap");
        body {
          background-color: #320027;
          display: flex;
          align-items: center;
          justify-content: center;
          height: 100vh;
          font-family: "Poppins", sans-serif;
          box-sizing: border-box;
        }
        body .container {
          background-color: white;
          width: 320px;
          height: 120px;
          border-radius: 30px;
          box-shadow: 0px 5px 10px 10px rgba(0, 0, 0, 0.01);
          position: relative;
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 0 60px;
        }
        body .container svg {
          height: 40px;
          width: 40px;
          stroke: #ff5157;
          cursor: pointer;
          z-index: 10;
        }
        body .container .fake {
          position: absolute;
  .........完整代码请登录后点击上方下载按钮下载查看

网友评论0