唯美登录界面

 

 

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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <link rel="stylesheet" href="1.css"> -->
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: serif;
        }

        section {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 110vh;
            background: linear-gradient(-30deg, #3a78b7 0%, #3a78b7 50%, #262626 50%, #607b8b 100%);
            filter: hue-rotate(120deg);
            animation: animate 10s linear infinite;
        }

        @keyframes animate {
            0% {
                filter: hue-rotate(0deg);
            }

            100% {
                filter: hue-rotate(360deg);
            }
        } 

        .box {
            position: relative;
            padding: 50px;
            width: 360px;
            height: 480px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, .1);
            border-radius: 6px;
            box-shadow: 0 5px 35px rgba(0, 0, 0, .2);
        }

         .box::after {
            content: '';
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 5px;
            pointer-events: none;
            background: linear-gradient(to bottom, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .1) 15%,
                    transparent 50%, transparent 85%, grba(255, 255, 255, .3) 100%);

        } 

        .box .form {
            position: relative;
            width: 100%;
        }

        .box .form h2 {
            color: #fff;
            font-weight: 600;
            letter-spacing: 2px;
            margin-bottom: 30px;
        }

        .box .form .inputbx {
            position: relative;
            width: 100%;
            margin-bottom: 20px;
        }

        .box .form .inputbx input {
            width: 100%;
            outline: none;
            border: 1px solid rgba(255, 255, 255, .3);
            background: transparent;
            padding: 8px 10px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 300;
            color: #fff;
            box-shadow: inset 0 0 25px rgba(0, 0, 0, .2);
        }

        .box .form .inputbx input::placeholder {
            color: #fff;
        }

        .box .form .inputbx input[type="submit"] {
            background: #fff;
            color: #111;
            max-width: 100px;
            padding: 8px 10px;
            box-shadow: none;
            font-weight: 500;
            letter-spacing: 1px;
            cursor: pointer;
        }

        .remeber {
            position: relative;
            display: inline-block;
            color: #fff;
            font-weight: 300;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .box .form p {
            color: #fff;
            font-weight: 300;
            font-size: 15px;
            margin-top: 5px;
        }

        .box .form a {
            color: #fff;

        }
    </style>
</head>

<body>
    <section>
        <div class="box">

            <div class="form">
                <h2>Login</h2>
                <form action="">
                    <div class="inputbx">
                        <input type="text" name="" id="" placeholder="Username">
                        <img src="" alt="">

                    </div>
                    <div class="inputbx">
                        <input type="password" name="" id="" placeholder="Password">
                        <img src="" alt="">
                    </div>
                    <!-- <label for="" class="remeber"><input type="checkbox" name="" id="">Remeber Me</label> -->
                    <div class="inputbx">
                        <input type="submit" name="" id="" value="Login">
                    </div>
                </form>
                <p>Forget <a href="#">Password</a></p>
                <p>Need an <a href="#">Account</a></p>
            </div>
        </div>
    </section>
</body>

</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值