简易登入界面2020/9/17

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .cls {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 30px;
        }

        .cls div {
            background-color: aqua;
            width: 150px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border-right: 1px solid #ccc;
        }

        .cls div:last-child {
            border: none;
        }

        .cls div:hover {
            cursor: pointer
        }


        .contaner {
            width: 500px;
            height: 240px;
            margin: auto;
            position: absolute;
            left: 0;
            bottom: 0;
            top: 0;
            right: 0;
        }
        .userLogin{
            text-align: center;;
            padding: 10px;
            color: #333;
            font-weight: bolder;
            font-size: 24px;
        }
        .FormTab {
            border: 2px solid #e1e1e1;
            border-top: 2px solid #1c5de7;
            box-shadow: 0 0 3px 1px #e1e1e1;
        }
        .FormTab form .inpt{
            width: 90%;
            margin: auto;
        }
        input{
            width: 83%;
            height: 30px;
            margin-top: 30px;
        }
        input[type="password"]{
            width: 83%;
            margin-left: 15px;
        }
        .btns {
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }
 
        button{
            height: 35px;
            width: 80px;
            margin: 30px 15px 15px 15px;
            cursor: pointer;
        }
        button,input{
            border: 1px solid #ccc;
            border-radius: 5px;
            
        }
    </style>
</head>

<body>
    <!-- <div class="cls">
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
        <div>5</div>
    </div> -->
    <div class="contaner">
        <div class="userLogin">用户登入</div>
        <div class="FormTab">
            <form action="">
                <div class="inpt">用户名: <input type="text"></div>
                <div class="inpt">  密码: <input type="password"></div>
                <div class="btns inpt">
                    <div><button>登入</button></div>
                    <div><button>重置</button></div>
                </div>
            </form>
        </div>
    </div>
</body>

</html>
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值