博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
大气登录页面
阅读量:4315 次
发布时间:2019-06-06

本文共 1543 字,大约阅读时间需要 5 分钟。

<!DOCTYPE html>

<html>
    <head>
        
        <meta charset="UTF-8">
        <title>Login</title>
        <style type="text/css">
        html{
        width: 100%;
        height: 100%;
        overflow: hidden;
        }
        body{
        width: 100%;
        height: 100%;
        font-family: "微软雅黑";
        background: #092756;
        }
        .login {
       position: absolute;
       top: 50%;
       left: 50%;
       margin: -150px 0 0 -150px;
       width:300px;
       height:300px;
     }
        .login h1{
        color: #fff;
        
        text-shadow: 0 0 10px rgb(0,0,0,0.3);
        letter-spacing: 1px;
        text-align: center;
        }
        input {
       width: 100%;
       margin-bottom: 10px;
       background: rgba(0,0,0,0.3);
       border: none;
       outline: none;
       padding: 10px;
       font-size: 13px;
       color: #fff;
       text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
       border: 1px solid rgba(0,0,0,0.3);
       border-radius: 4px;
       box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
      
}
        input:focus{
        box-shadow: inset 0 -5px 45px rgba(100,100,100,0.3),0 1px 1px rgba(255,255,255,0.2);
        }
        .btn{
            -webkit-appearance: none;
            background: #009dff;
            border: none;
            border-radius: 2px;
            color: #fff;
            cursor: pointer;
            height: 50px;
            font-family: 'Open Sans', sans-serif;
            font-size: 1.2em;
            letter-spacing: 0.05em;
            text-align: center;
            text-transform: uppercase;
            transition: background 0.3s ease-in-out;
            width: 320px;
       
        }
       
        </style>
    </head>
    <body>
    <div class="login">
    <h1>Login</h1>
    <form method="post">
    <input type="text" class="user" placeholder="用户名" required="required"/>
    <input type="password" class="passwd" placeholder="密码" required="required"/>
    <button type="submit" class="btn">登录</button>
    </form>
    </div>
    </body>
</html>

转载于:https://www.cnblogs.com/chenligeng/p/8544016.html

你可能感兴趣的文章
测试与发布
查看>>
Timus 1014. Product of Digits
查看>>
14软件工程第七次作业
查看>>
继承的特点与注意事项
查看>>
C02面向对象
查看>>
Thunder团队第二周 - Scrum会议2
查看>>
转 sql删除重复记录
查看>>
Yum数据库错误
查看>>
HDOJ树形DP专题之考研路茫茫——空调教室
查看>>
《结对-蓝牙考勤系统-测试过程》
查看>>
PAT 1034. Head of a Gang
查看>>
微信分享
查看>>
《数据结构》第1章:绪论
查看>>
基于域名的虚拟主机(最常用)
查看>>
第八讲 shiro 整合 ssm
查看>>
Lucene
查看>>
[LeetCode] 83. Remove Duplicates from Sorted List 移除有序链表中的重复项
查看>>
CNN反卷积理解
查看>>
chrome 中firstChild老是出错
查看>>
Java 7 新的 try-with-resources 语句,自动资源释放
查看>>