Realize the login and registration interface (1haodian)

 

 login screen

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style type="text/css">
            * {
                margin: 0;
                padding: 0;
            }

            .all {
                height: 600px;
                width: 1100px;
                margin: auto;
                border: 1px #DCDCDC solid;
            }

            .s {
                width: 300px;
                height: 20px;
                float: right;
                margin-top: 6px;
            }

            .header {
                width: 1100px;
                height: 100px;
                background-color: rgb(255, 255, 255);
                font-size: 12px;
                margin: auto;
                border: 1px #DCDCDC solid;
            }

            .a {
                display: inline-block;
                width: 130px;
                height: 20px;

            }

            .nei {
                display: inline-block;
                width: 85px;
                height: 20px;
                border: 1px #DCDCDC solid;
            }

            .header>img {

                margin-left: 30px;
                margin-top: 10px;
                vertical-align: middle;
            }

            .nei>img {
                vertical-align: middle;
            }

            .header a {

                text-decoration: none;
            }

            .right {

                width: 396px;
                height: 400px;
                float: right;
            }

            .righter {
                width: 350px;
                height: 300px;
                margin-top: 50px;
            }

            .left {
                width: 700px;
                height: 400px;
                float: left;
            }

            .left img {
                margin-left: 120px;
                margin-top: 20px;
            }

            .middle {
                width: 1100px;
                height: 400px;
                background-color: rgb(252, 252, 252);
            }

            .right span {
                margin-left: 40px;
                font-weight: bold;
                color: rgb(102, 102, 102);
            }

            .right a {
                text-decoration: none;
                margin-left: 145px;
                font-size: 12px;
            }

            .one input {

                margin-left: 40px;
                background-color: #FFFFFF;
                background: url(Image/icon_02.gif) no-repeat 20px 20px;
                background-position: 20px;
                height: 50px;
                width: 300px;
                border: #DCDCDC solid 1px;
            }

            .two input {
                margin-top: 15px;
                margin-left: 40px;
                background-color: #FFFFFF;
                background: url(Image/lock.png) no-repeat 20px 20px;
                background-position: 23px;
                height: 50px;
                width: 300px;
                border: #DCDCDC solid 1px;
            }

            .three input {
                margin-top: 20px;
                margin-left: 40px;

            }

            .three span {
                color: rgb(118, 118, 122);
            }

            .three {
                font-size: 13px;
                color: rgb(118, 118, 122);
            }

            .four input {
                margin-top: 15px;
                margin-left: 40px;
                height: 50px;
                width: 300px;
                border-radius: 3px;
                background-color: rgb(255, 60, 60);
                font-size: 16px;
                color: white;
                border: 0px;
            }

            .five p {
                margin-top: 15px;
                margin-left: 40px;
                font-size: 12px;
                color: rgb(118, 118, 122);
            }

            .right input::-webkit-input-placeholder {

                font-size: 16px;
                color: rgb(118, 118, 122);
            }

            .six img {
                margin-top: 15px;
                margin-left: 20px;
                width: 30px;
                height: 30px;
                vertical-align: middle;
            }

            .six span img {
                margin-left: 15px;
            }

            .six span {
                margin-left: 25px;
                font-size: 12px;
                color: rgb(118, 118, 122);
            }

            .eight img {
                width: 12px;
                height: 12px;
                vertical-align: middle;
                margin-left: 0;
            }

            .footer {                 width: 1100px;                 height: 100px;                 background-color: #FCFCFC;                 font-size: 12px;                 color: #000000;                 text-align: center;                 line-height: 15px;             }         </style>     </head>     <body>         <div class="all">             <div class="header"><img src="Image/loginlogo.jpg">                     <div class="nei">                     <div class="a"><span>Hello, welcome to No. 1 store!</span></div><a href="#">   ;  Please log in</a>                 <div class="s">
















                        <img src="./Image/runbun.png">Help Center<img src="./Image/turnb.png"> </div> </div>
                    </div>
                <
            div
            class="middle">
                <div class="left"><img src="Image/loadimg.jpg"></div>
                <div class="right">
                    <div class="righter">
                        <form action="#" method=" get">
                            <span>1haodian user login</span><a href="registration page.html" target="_blank">注册账号</a><br />
                            <div class="one"><input type="text" name="username"
                                    placeholder="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;邮箱/手机/用户名"><br />
                            </div>
                            <div class="two"><input type="password" name="password"
                                    placeholder="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密码">
                            </div>
                            <div class="three"><input type="checkbox"
                                    value="Auto Login">Auto Login<span>                                              Forgot your password? </span>
                            </div>
                            <div class="four"><input type="submit" value="login"></div>
                            <div class="five">
                                <p>More cooperative website account login </p>
                            </div> <a


                                    <div class="eight"><img src="./Image/turnb.png"></span></div> </form> </div>
                        </div>
                    </div>
                <
            div
            class= "footer"><br />Shanghai ICP No. 13044728 | Co-word B1.B2-20130004 | Business License<br /><br />
                Copyright© Yihaodian Online Supermarket 2007-2016, All Rights Reserved
            </div>
        </div>
    </body>
</html>

Registration interface

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style type="text/css">
            .all {
                height: 680px;
                width: 1300px;
                margin: auto;
            }

            .s {
                width: 300px;
                height: 20px;
                float: right;
                margin-top: 5px;
            }

            .header {
                width: 1300px;
                height: 100px;
                background-color: rgb(255, 255, 255);
                font-size: 12px;
                margin: auto;
                border: 1px #DCDCDC solid;
            }

            .a {
                display: inline-block;
                width: 130px;
                height: 20px;
            }

            .nei {
                display: inline-block;
                width: 85px;
                height: 20px;
                border: 1px #DCDCDC solid;
            }

            .header>img {

                margin-left: 30px;
                margin-top: 10px;
                vertical-align: middle;
            }

            .nei>img {
                vertical-align: middle;
            }

            .header a,
            .c a {
                text-decoration: none;
            }

            .footer {
                height: 580px;
                width: 1300px;
                background-color: rgb(252, 252, 252);
            }

            .main {
                width: 400px;
                height: 550px;
                margin-left: 450px;
                background-color: rgb(252, 252, 252);
            }

            .main input {
                width: 360px;
                height: 60px;
                margin-top: 10px;
            }

            .a2 input {
                width: 200px;
                height: 60px;
                float: left;
            }

            .a3 input {
                width: 150px;
                height: 66px;
                float: left;
                margin-left: 10px;
                font-size: 16px;
                color: white;
                background-color: rgb(87, 86, 95);
                border: 0;
                font-weight: bold;
            }

            .b input {
                width: 360px;
                height: 60px;
                margin-top: 10px;
            }

            .c {
                margin-top: 15px;
                padding-left: 30px;
            }

            .d input {
                color: white;
                background-color: rgb(255, 60, 60);
                border: 0;
                font-size: 18px;
            }

            .e {
                font-size: 14px;
                text-align: center;
            }

            .z {
                padding-top: 20px;
                margin-bottom: 10px;
                font-size: 25px;
                text-align: center;
            }

            .main input::-webkit-input-placeholder {                 padding-left: 20px;                 font-size: 16px;                 font-weight: bold;                 color: rgb(118, 118, 122);             }         </style>     </head>     <body>         <div class="all">             <div class="header">                 <img src="Image/loginlogo.jpg">                         <img src="./Image/runbun.png">Help Center<img src="./Image/turnb.png">                     <div class="nei">                     <div class="a"><span>Hello, welcome to No. 1 store!</span></div><a href="#">   ;  Please log in</a>                 <div class="s">















                    </div>
                </div>
            </div>
            <div class="footer">
                <div class="main">
                    <form action="#" method="get">
                        <div class="z">1号店注册</div>
                        <input type="text" placeholder="手机号">
                        <div class="a1">
                            <div class="a2"><input type="text" placeholder="手机号"></div>
                            <div class="a3"><input type="button"value="Get verification code"></div>                         <div class="b"><input type="text" placeholder="password"></div>
                        </div>

                        <input type="text" placeholder="confirm password">
                        <div class="c">Click to register, you agree to Yihaodian's <a href="#">"Service Agreement"</a></div >
                        <div class="d"><input type="submit" value="Agree to the agreement and register"></div>
                        <div class="e"><br />Shanghai ICP No. 13044728 | Co-word B1 .B2-20130004 | Business License<br /><br />
                            Copyright© Yihaodian Online Supermarket 2007-2016, All Rights Reserved</div>
                    </form>
                </div>
            </div>
        </div>
    < /body>
</html>

Guess you like

Origin blog.csdn.net/dai556688/article/details/119728448