| | <!DOCTYPE html> |
| | <html lang="en"> |
| | <head> |
| | <meta charset="UTF-8"> |
| | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| | <title>Login Page</title> |
| | <style> |
| | |
| | body { |
| | font-family: Arial, sans-serif; |
| | background-color: #f4f4f4; |
| | display: flex; |
| | justify-content: center; |
| | align-items: center; |
| | height: 100vh; |
| | margin: 0; |
| | } |
| | |
| | .login-container { |
| | background: white; |
| | padding: 20px; |
| | border-radius: 5px; |
| | box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
| | } |
| | |
| | .form-group { |
| | margin-bottom: 15px; |
| | } |
| | |
| | label { |
| | display: block; |
| | margin-bottom: 5px; |
| | } |
| | |
| | input { |
| | width: 100%; |
| | padding: 8px; |
| | box-sizing: border-box; |
| | } |
| | |
| | button { |
| | width: 100%; |
| | padding: 10px; |
| | background-color: #5cb85c; |
| | color: white; |
| | border: none; |
| | border-radius: 5px; |
| | cursor: pointer; |
| | } |
| | |
| | button:hover { |
| | background-color: #4cae4c; |
| | } |
| | </style> |
| | </head> |
| | <body> |
| | <div class="login-container"> |
| | <h2>Login</h2> |
| | <form action="#" method="post"> |
| | <div class="form-group"> |
| | <label for="username">Username:</label> |
| | <input type="text" id="username" name="username" required> |
| | </div> |
| | <div class="form-group"> |
| | <label for="password">Password:</label> |
| | <input type="password" id="password" name="password" required> |
| | </div> |
| | <button type="submit">Login</button> |
| | </form> |
| | </div> |
| | </body> |
| | </html> |