jquery实现立体视觉滚动差异按钮效果代码

代码语言:html

所属分类:视觉差异

代码描述:jquery实现立体视觉滚动差异按钮效果代码

代码标签: jquery 视觉差异 滚动 按钮

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />




    <style>
        /* button variables */
        html {
          height: 100%;
          overflow: hidden;
          background: #777;
        }
        
        /* the perspective set here is the most important declaration for the 3d look of the buttons (values over 1000px make the buttons look almost flat) */
        body {
          margin: 0;
          height: 100%;
          overflow-y: scroll;
          font-family: sans-serif;
          font-size: 16px;
          perspective: 350px;
        }
        
        div {
          width: 600px;
          margin: 0 auto;
          padding: 20px 20px 600px;
          background: #fff;
          transform-style: preserve-3d;
        }
        
        h1, h2 {
          text-align: center;
        }
        
        h1, h2, hr {
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0