2025-03-10

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title><style>
        *{margin: 0; padding: 0; box-sizing: border-box;}
        html, body{width:100%; height:100%;}
        body{display:flex;flex-direction:column;}
        .header{width:100%;height:72px;
        display:flex;
        justify-content:center;
        }
        .main{width:100%;flex:1;}
        /* flex: 1,在弹性布局中,占满剩余的所有空间 */
        .header .content{width:1200px;height:72px;display:flex;
align-items:center;
}
.header .content img{width:100px;height:30px;}
.main{
display:flex;
justify-content: center;
align-items: center;
}
.login-box{
width:400px;
height: 240px;
background-color: #fff;
border-radius:8px;
box-shadow: #888 10px 10px 20px;
}
.header{
width: 100%;
height:50px;
line-height: 50px;
text-align:center;
font-size:18px;
letter-spacing: 3px;
border-bottom:solid 1px #eee;
}
.login{
height:180px;
display:flex;
flex-direction: column;
justify-content: space-evenly;
}
.login p {
height:40px;
/* background-color: orange; */
display:flex;
justify-content: space-evenly;
align-items: center;
}
.login p input{
width:260px;
height:32px;
}
.login p button{
outline: none; /* 去掉外边框*/
border: none; /* 去掉边框*/
width:300px;
height:32px;
border-radius:16px;
background-color:#4872f6;
color:white;
}.login p button:hover{background-color:#143bbd;
font-weight:600;
}
.body{background: linear-gradient(to bottom, #f0f0f0, #333333);}
</style>
</head>
<body>
<!-- 页头 -->
<div class="header">
<div class="content">
<img src="./xet_logo_2020.png" alt="">
</div>
</div>
<!-- 页面 -->
<div class="main">
<!-- 登录窗口 -->
<div class="login-box">
<div class="header">AI管理系统 管理员登录</div>
<div class="login">
<p>
<label for="zhanghao">账号:</label>
<input type="text" name="zhanghao" id="zhanghao"
placeholder="请输入账号">
</p >
<p>
<label for="mima">密码:</label>
<input type="password" name="mima" id="mima"
placeholder="请输入密码">
</p >
<p>
<button>登录</button>
</p >
</div>
</div>
</div>
</body>
</html>
</head>
<body>
    
</body>
</html>
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 2025年3月10日 星期一 客户没及时回款,导致我的心情很不爽,答应好的事情,出尔反尔,真令人厌恶!
    A青岛韩国PE颗粒176858阅读 33评论 0 0
  • 想做一阵风 想来就来,想走便走 拂过你的眉间 什么都不留下 什么都不带走 她果然死了。 但一刻也不必为她的死而遗憾...
    huyihu阅读 62评论 4 1
  • 热爱中医文化,渴望在传承与发展中医的道路上一展身手吗?你拥有出色的管理能力,期待带领团队创造非凡成就吗?同世堂中医...
    挺满意的阅读 29评论 0 0
  • 国内 因为2月份CPI数据不理想,A股回调,暂时没有什么方向性。 美国 两党之争仍然很激烈,特朗普的政策得罪了很多...
    洞渊的自习室阅读 24评论 0 0
  • 我的老师70岁还坚持坐诊的老教授,一次感冒两三天她没当一回事,检查去上班,结果突然胸闷气短直接晕倒,同事们赶紧给她...
    Helloe阅读 37评论 0 1