File: /www/wwwroot/www.kntsleep.com/dd/js/login.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>后台登录</title>
<script src="js/js/jquery-3.7.1.js"></script>
<style>
body {
background: #e0e0e0 !important;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul li {
list-style: none;
}
a {
text-decoration: none;
}
button {
user-select: none;
}
.box {
width: 400px;
height: 240px;
background: #fff;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 200px auto;
}
input {
outline: none;
border: 1px solid #000;
width: 250px;
height: 35px;
border-radius: 5px;
padding-left: 15px;
margin-top: 20px;
}
button {
outline: none;
border: 0;
width: 250px;
height: 35px;
border-radius: 5px;
padding-left: 15px;
margin-top: 20px;
}
button {
background: #1f9cc7;
color: #fff;
cursor: pointer;
position: relative;
}
button:hover::before {
content: '';
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.1);
}
form {
display: flex;
flex-direction: column;
justify-content: center;
}
</style>
</head>
<body>
<div class="box">
<h2>登录后台</h3>
<form method="post">
<input name="password" type="password" placeholder="请输入密码">
<button type="submit">提交</button>
</form>
</div>
</body>
</html>