atroposjs实现鼠标悬浮跟随三维视觉差异图层效果代码

代码语言:html

所属分类:视觉差异

代码描述:atroposjs实现鼠标悬浮跟随三维视觉差异图层效果代码

代码标签: atroposjs 鼠标 悬浮 跟随 三维 视觉 差异 图层

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">


<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/atropos.min.css">

    <style>
        /* Fluff */
        *,
        *::before,
        *::after {
          box-sizing: inherit;
        }
        html {
          box-sizing: border-box;
        }
        body {
          margin: 0;
          min-height: 100vh;
          display: flex;
          flex-direction: column;
          font-family: sans-serif;
        }
        .container {
          width: 100%;
          max-width: 800px;
          margin: auto;
          padding: 2rem;
        }
        
        
        
        /* Atropos web component */
        atropos-component {
          display: block;
        }
        atropos-component .atropos-inner {
          border-radius: 1rem;
        }
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0