帮我写一个 漂亮的404页面
饾暦饾枎饾枒饾枏饾枂饾枅饾枑
2023/03/16 21:13:00
- <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>404 页面未找到</title> <style> body { background-color: #f2f2f2; font-family: Arial, sans-serif; margin: 0; padding: 0; } .container { max-width: 800px; margin: 0 auto; padding: 50px; text-align: center; } h1 { font-size: 96px; color: #ff5252; margin: 0; line-height: 1; } h2 { font-size: 48px; color: #333; margin: 20px 0; line-height: 1; } p { font-size: 18px; color: #666; margin-bottom: 30px; } a { display: inline-block; padding: 10px 30px; background-color: #ff5252; color: #fff; font-size: 20px; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; } a:hover { background-color: #f00; } img { max-width: 100%; height: auto; margin-top: 30px; } </style></head><body> <div class="container"> <h1>404</h1> <h2>页面未找到</h2> <p>抱歉,您访问的页面不存在或已删除。</p> <a href="#">返回首页</a> </div></body></html>