前端无小事--登录页布局

 觉得公司管理后台的登录界面挺简洁的,于是就记录下来了,方便日后直接拿来用。

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>登录页面布局</title>

    <style type="text/css">
        html {
            height: 100%;
        }

        body {
            background: #1f9191 url(https://blog.csdn.net/loginbg.png) right top no-repeat;
        }

        .login-wrap {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 800px;
            height: 626px;
            margin-left: -400px;
            margin-top: -363px;
            padding-top: 100px;
            background: url(https://blog.csdn.net/login-wrapper.png) center 0 no-repeat;
            font-family: "微软雅黑", Regular, "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
            font-size: 16px;
        }

        .login-wrap .title {
            padding: 44px 0 20px;
            color: #36383c;
            font-size: 36px;
            font-weight: bold;
            text-align: center;
        }

        .login-wrap .form {
            width: 565px;
            height: 346px;
            margin: 0 auto;
        }
    </style>
</head>

<body>
    <div class="login-wrap">
        <div class="title">欢迎登录</div>
        <form action="/login" name="loginForm" target="_self" method="POST">
            <div class="form">

            </div>
        </form>
    </div>
</body>

</html>

登录界面效果如下图所示。 

链接:https://pan.baidu.com/s/1v1kPXmtVBvbH2kA6Q7Jb1g 

提取码:89n2 

评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值