three+vanta.waves实现三维波浪效果代码

代码语言:html

所属分类:三维

代码描述:three+vanta.waves实现三维波浪效果代码

代码标签: three vanta waves 三维 波浪

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

<!DOCTYPE html>

<html lang="en">

<head>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">
    <meta charset="UTF-8">




    <style>
        #background {
          width: 100vw;
          height: 100vh;
        }
        
        #buttons {
          position: fixed;
          bottom: 5vmin;
          right: 5vmin;
        }
        #buttons .btn {
          display: inline-block;
          width: 5vmin;
          height: 5vmin;
          margin-left: 5vmin;
          border: 1px solid #ccc;
          border-radius: 50%;
          cursor: pointer;
          transition: all 0.1s linear;
        }
        #buttons .btn[data-color=blue] {
          background-color: #005588;
        }
        #buttons .btn[data-color=green] {
          background-color: #1a913b;
        }
        #buttons .btn[data-color=black] {
          background-color: #000000;
        }
        #buttons .btn:hover {
          transform: scale(1.2);
        }
    </style>



</head>

<body>
    <div id="background"></div>
    <div id="buttons">
        <span class="btn" data-col.........完整代码请登录后点击上方下载按钮下载查看

网友评论0