码迷,mamicode.com
首页 > 其他好文 > 详细

登陆页面

时间:2018-08-02 02:09:25      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:reserve   lang   amp   ati   注册   form   row   input   ack   

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .pg{
            height: 600px;
            width: 1000px;
            /*background-color: blueviolet;*/
            left: 16%;
            top: 100px;
            border: 1px lightsteelblue solid;
            position: relative;
        }
        .pg .pg-left img{
            position: absolute;
            padding: 85px 30px;
            height: 454px;
            width: 458px;
        }

        .pg .pg-right{
            position: absolute;
            right: 55px;
            top: 86px;
            /*border: 2px saddlebrown solid;*/
            height: 411px;
            width: 456px;

        }
        .pg-right div {
            padding: 20px 30px;
        }

    </style>
</head>
<body>


<div class="pg">
    <div class="pg-left">
        <img src="121.jpg" alt="">
    </div>

    <div class="pg-right" style="padding: 20px 10px">
        <form action="" >
            <div><span style="color: red">*</span>用户名:&ensp;<input type="text" value="22" ></div>
            <div>&ensp;&ensp;<span style="color: red">*</span>密码:&ensp;<input type="text" value="22"></div>
            <div ><span style="color: red">*</span>验证码:&ensp;<input type="text" style="width: 50px"></div>
            <div style="position: absolute;left: 43px;"><input type="checkbox">自动登陆 <a href="">忘记密码?</a></div>
            <input type="submit" value="登陆" style="background-color: firebrick;position: absolute;top: 292px;left: 95px;width: 206px ;height: 40px">
        </form>
            <button style="position: absolute;right: 0;bottom: 0;background-color: lightgreen;width: 147px;height: 40px" ><a href="">免费注册>></a></button>
    </div>
        <p style="position: absolute;bottom: 0;left: 200px" >2014-2015 www.autohome.com.cn ALL Rights Reserved 老男孩版权所有</p>
</div>


</body>
</html>

 

登陆页面

标签:reserve   lang   amp   ati   注册   form   row   input   ack   

原文地址:https://www.cnblogs.com/polly-ling/p/9404470.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!