制作一个模仿Disney风格的用户名密码登录/注册的html页面
时间: 2023-09-08 15:07:25 浏览: 41
以下是一个基本的Disney风格的用户名密码登录/注册的HTML页面示例:
```html
<!DOCTYPE html>
<html>
<head>
<title>Disney Login/Register Page</title>
<style>
body {
background-color: #f8f9fa;
font-family: Arial, sans-serif;
}
.container {
width: 400px;
margin: 0 auto;
padding-top: 50px;
}
h1 {
text-align: center;
font-size: 40px;
color: #2d3436;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: none;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
input[type="submit"] {
display: block;
width: 100%;
padding: 10px;
background-color: #f1c40f;
color: #fff;
border: none;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #f39c12;
}
.register-link {
text-align: center;
margin-top: 20px;
font-size: 18px;
}
.register-link a {
color: #3498db;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<h1>Disney Login</h1>
<form>
<label for="username">Username:</label>
<input type="text" id="username" name="username" placeholder="Enter your username...">
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Enter your password...">
<input type="submit" value="Login">
</form>
<div class="register-link">
Don't have an account? <a href="#">Register here</a>
</div>
</div>
</body>
</html>
```
该示例使用黄色作为登录按钮的颜色,因为在Disney风格中黄色是一种经常使用的颜色。您可以根据需要更改颜色或其他样式。