最新公告
  • 欢迎您光临博客学院,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入我们
  • 黑色html5登录源码模板

    html5源

    在逛DDOS网站看到一款暗黑系列的登录界面感觉还不错,有种神秘的赶脚,但发现国外大佬写的这个登录框代码很老了~还是html低版本语法就照造着对方界面写了一个采用H5+flex布局

    代码如下

    <!DOCTYPE html>
    <html lang="en">
     
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>暗黑登录</title>
        <link rel="stylesheet" href="font/css/font-awesome.css">
        <style>
            * {
                margin: 0;
                padding: 0;
            }
     
            body,
            html {
                background-color: #1c1f22;
                color: #9a9da0;
            }
            a {
                color: #fff;
                text-decoration: none;
            }
            .warp {
                width: 100%;
                height: auto;
            }
     
            .container {
                max-width: 600px;
            }
     
            .j_head_img {
     
                text-align: center;
     
            }
     
            .j_head_img img {
                max-width: 100%;
                height: 200px;
                vertical-align: middle;
     
            }
     
            .j_margin {
                margin: 6% auto 0;
            }
     
            .j_form {
                background-color: #2c3136;
                border: 1px solid #2c3136;
            }
     
            .j_form_head {
                padding: 10px 10px;
                color: #fff;
                background-color: #3b3e47;
                border: 1px solid #3b3e47;
            }
     
            .j_form_title {
                font-size: 16px;
                line-height: 26px;
            }
     
            .j_form_title h3 i {
                padding: 0 9px 0 0;
            }
     
            .j_form_body {
                padding: 15px 15px;
            }
     
            .j_form_warp {
                margin-top: 16px;
                display: flex;
                flex-direction: row;
     
            }
            
            .j_form_warp .j_form_span {
                padding: 6px 12px;
                border: 1px solid #393e45;
                background-color: #393e45;
                color: #fff;
     
            }
            .j_form_warp .j_form_span i {
                width: 10px;
                height: 10px;
            }
     
            .j_form_warp .j_form_input {
                border: 1px solid #1c1f22;
                background-color: #1c1f22;
                letter-spacing: 1px;
                width: 100%;
                padding: 6px 12px;
                outline: none
            }
     
            .j_form_warp .j_form_input:focus {
                color: #fff;
            }
            .j_footer input[type="checkbox"]{
                content: "";
                display: block;
                width: 15px;
                height: 15px;
                border-radius: 2px;
                text-align: center;
                line-height: 15px;
                border: 1px solid #ccc;
            }
            .j_footer label {
                margin: -4px 0 0 10px;
              
            }
            .j_footer_button {
                width: 100%;
                height: auto;
                text-align: center;
                color: #fff;
                margin-top: 16px;
            }
            .j_footer_button button{
                background-color: #5b69bc;
                border: 1px solid #4c59a7;
                color: #fff;
                padding: 0 8px 0 0;
            }
            .j_footer_button span {
                display: inline-block;
                padding: 8px 12px;
                margin-right: 8px;
                background: rgba(0,0,0,.15);
            }
            hr {
                border: 0;
                border-top: 1px solid #3d404c;
                margin: 20px 0;
            }
            .j_footer_login {
                width: 100%;
                height: auto;
                text-align: center;
            }
        </style>
    </head>
     
    <body>
        <section class="warp">
            <div class="container j_margin">
                <header>
                    <div class="j_head_img">
                        <img src="https://client.undisclosed.to/panel/assets/logo-login.png" alt="">
                    </div>
                </header>
     
                <article class="j_form">
                    <div class="j_form_head">
                        <div class="j_form_title">
                            <h3><i class="fa fa-sign-in  j_form_padding"></i>Register</h3>
                        </div>
                    </div>
     
                    <div class="j_form_body">
                        <form action="" method="POST">
                            <div class="j_form_warp">
                                <span class="j_form_span"><i class="fa fa-user"></i></span>
                                <input class="j_form_input" type="text" placeholder="Username">
                            </div>
                            <div class="j_form_warp">
                                <span class="j_form_span"><i class="fa fa-key fa-fw"></i></span>
                                <input class="j_form_input" type="text" placeholder="Password">
                            </div>
                            <div class="j_form_warp">
                                <span class="j_form_span"><i class="fa fa-key fa-fw"></i></span>
                                <input class="j_form_input" type="text" placeholder="Repeat Password">
                            </div>
                            <div class="j_form_warp">
                                <span class="j_form_span"><i class="fa fa-envelope-o fa-fw"></i></span>
                                <input class="j_form_input" type="text" placeholder="Email">
                            </div>
     
                            <div class="j_footer j_form_warp">
                                <input type="checkbox">
                                <label for="">I read and accept the <a href="">TOS</a></label>
                            </div>
     
                            <div class="j_footer_button">
                                <button>
                                    <span><i class="fa fa-sign-out"></i></span>
                                    Sign Up
                                </button>
                            </div>
     
                            <hr/>
     
                            <div class="j_footer_login">
                                <span>Do you have an account? <a href="">Sign In</a></span>
                            </div>
                        </form>
                    </div>
                </article>
            </div>
     
     
        </section>
    </body>
     
    </html>
    RIPRO主题是一个优秀的主题,极致后台体验,无插件,集成会员系统
    博客学院 » 黑色html5登录源码模板
    你的前景,远超我们想象

    选择学么=选择高薪,选择=成功

    • 原创课程

      课程独家原创

    • 零基础

      人人都能轻松入门

    • 注重实战

      轻理论重实战讲实效

    • 高品质

      一对一在线答疑

    • 用心服务

      解除后顾之忧

    • 手机学习

      随时随地轻松学习