zoukankan      html  css  js  c++  java
  • 底层图片滑动

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            * {
                margin: 0;
                padding: 0;
            }
    
            html,
            body {
                 100%;
                height: 100%;
            }
    
    
            .boxTop:before {
                content: '';
                background-repeat: no-repeat;
                background-position: center;
                opacity: 0.4;
                position: fixed;
                top: 0;
                left: 0;
                 100%;
                height: 2000px;
                z-index: -1;
                background: url(./75454.jpg) 0 / cover fixed;
            }
    
            .boxTop {
                 100%;
                margin: 1000px auto 0;
                height: auto;
                z-index: 9999;
                background-color: #fff;
            }
            .box{
                 100%;
                height: auto;
                min-height: 2000px;
                background: url(./4565413645.jpg) 0 / cover fixed;
            }
        </style>
    </head>
    
    <body>
        <div class="boxTop">
            <div class="box"></div>
        </div>
    </body>
    
    </html>

  • 相关阅读:
    基于Twisted的简单聊天室
    小学题的python实现
    初识Go(8)
    初识Go(7)
    初识Go(6)
    初识Go(5)
    初识Go(4)
    初识Go(3)
    初识Go(2)
    初识Go(1)
  • 原文地址:https://www.cnblogs.com/123poi/p/14637933.html
Copyright © 2011-2022 走看看