<!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 {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #f7f7f7;
}
.container {
background-color: #444;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0,0,0,0.5);
width: 300px;
height: 400px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
padding: 20px;
}
h2 {
color: #eee;
font-family: Arial, sans-serif;
margin: 10px 0;
}
.input-container {
display: flex;
flex-direction: column;
}
.input-container input {
width: 250px;
margin-bottom: 10px;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #f0f0f0;
font-size: 16px;
transition: .3s;
}
.input-container input:focus {
background-color: #eee;
outline: none;
}
.btn {
width: 250px;
background-color: #555;
border: none;
height: 40px;
border-radius: 5px;
font-size: 16px;
color: #fff;
cursor: pointer;
transition: .3s;
}
.btn:hover {
background-color: #666;
}
.links {
color: #aaa;
margin-top: 10px;
font-size: 14px;
}
.links a {
text-decoration: none;
color: #bbb;
}
.links a:hover {
color: #eee;
}
</style>
</head>
<body>
<div class="container">
<h2>登录</h2>
<div class="input-containe
评论已关闭