制作登录页面

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>登录页面</title>

    <style>

    body{

        background: url(./ocean-3605547_1280.jpg) no-repeat  ;

        background-size: 100% 120%;

    }

    .d{

        width: 30%;

        height: 400px;

        background-color:#7e7c7c60;

        margin: auto;

        margin-top: 10%;

        text-align: center;

        border-radius: 100px;

        padding: 50px 50px

    }

    .y{

        margin-top: 5%;

        color: rgb(194,209,290,5);

        font-size: 20px;

    }

    .m{

        margin-top: 5%;

        color: rgb(194,209,290,5);

        font-size: 20px;

    }

    .q{

        margin-top: 5%;

        color: rgb(194,209,290,5);

        font-size: 15px;

        margin-left: -150px;

    }

    .c{

        margin-top: -4%;

        color: rgb(194,209,290,5);

        font-size: 15px;

        margin-left: 35%;

    }

    .m{

        color: rgb(194,209,290,5);}

    .a{

        width: 300px;

        height: 50px;

        background-color:  rgba(36, 240, 145 ,0.3);

        margin-left: 18%;

        margin-top:5% ;

}

    </style>

</head>

<body>

    <div class="d"  >

        <h1  style="text-align: center; color: #ffffff90;margin-top: 10%; ">登录页面</h1>

        <div class="y">

            用户名:<input type="text" placeholder="请输入用户名" style="background-color: #7e7c7c60; border-bottom: 3px solid #7e7c7c60 ">

        </div>

        <div class="m">

            密 &nbsp;&nbsp;&nbsp;

            码:<input type="password" placeholder="请输入密码 " style="background-color: #7e7c7c60; border-bottom: 3px solid #7e7c7c60">

        </div>

        <div class="q">

        <input type="checkbox"  ><label for="chifan" >保存密码</label>

        </div>

        <div class="c">

            <input type="checkbox"  ><label for="chifan" >我已同意</label>

            </div>

        <div class="m">

        <a href="">忘记密码</a>

    </div>

   

        <div class="a">

        <a href="./总结.html" target="new" style="display: block; margin: auto; font-size: 30px;">登录</a>

    </div>

       

    </div>

</body>

</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值