zoukankan      html  css  js  c++  java
  • web前端

    代码

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    
        <style>
            .beijing {
                display: none;
                position: fixed;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                z-index: 1040;
                background-color: #000000;
                opacity: 0.8;
            }
    
            .registered{
                float: left;
                margin-top: 50px;
                margin-left: 400px;
                height: 100px;
                 300px;
                padding-top: 20px;
                padding-left: 10px;
                background-color: white;
            }
    
        </style>
    
    </head>
    <body>
    
        <div>
            <input type="button" value="登录" onclick="show()" />
            <div ID="bj" class="beijing">
                <div class="registered">
    
                    username: <input type="text" /><br/>
                    password: <input type="password" />
    
                </div>
    
            </div>
    
        </div>
    
    
        <script>
    
            function show() {
                obj = document.getElementById('bj');
                obj.style.display = "block"
    
    
            }
        </script>
    
    </body>
    </html>
    

    效果图

  • 相关阅读:
    beego——过滤器
    beego——session控制
    Differentiation 导数和变化率
    验证码识别
    pip 下载慢
    ORB
    决策树
    机器学习第二章 配对网站
    K-近邻算法
    ubuntu下安装配置OpenCV
  • 原文地址:https://www.cnblogs.com/CongZhang/p/5790088.html
Copyright © 2011-2022 走看看