html登录注册页面代码
body {
margin: 0;
padding: 0;
font-family: Arial
sans-serif;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.form {
width: 400px;
padding: 40px;
background-color: #f2f2f2;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0
0
0
0.1);
}
.form h2 {
text-align: center;
margin-bottom: 20px;
color: #333;
}
.form .input-group {
margin-bottom: 20px;
}
.form .input-group label {
display: block;
margin-bottom: 5px;
color: #777;
}
.form .input-group input {
width: *;
padding: 10px;
font-size: 16px;
}
.form .input-group button {
padding: 10px;
font-size: 16px;
background-color: #333;
color: #fff;
border: none;
cursor: pointer;
}
.form .input-group button:hover {
background-color: #555;
}
.form .bottom-text {
text-align: center;
margin-top: 20px;
color: #777;
}
Login
Don't have an account? Register