qwen3-235b-a22b· Alibaba (Qwen) LMArena Human Preference 140K
给我一个完美的非常好看的互联网大厂的上市公司的登录页面给我html就可以
- User
给我一个完美的非常好看的互联网大厂的上市公司的登录页面给我html就可以
- Assistant
以下是一个符合互联网大厂风格的登录页面HTML示例,包含现代设计元素和响应式布局:
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>企业级登录 - 大厂科技</title> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; } body { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; } .login-container { background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); overflow: hidden; max-width: 400px; width: 100%; } .brand-header { padding: 30px; text-align: center; background: #f8f9fa; border-bottom: 1px solid #e0e0e0; } .brand-logo { width: 60px; height: 60px; margin: 0 auto 15px; background: #2a5298; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; font-weight: 700; } .brand-title { color: #2a5298; font-size: 24px; font-weight: 700; } .form-wrapper { padding: 30px; } .form-group { margin-bottom: 20px; } label { display: block; margin-bottom: 8px; color: #333; font-weight: 500; } input[type="email"], input[type="password"] { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: border-color 0.3s; } input:focus { outline: none; border-color: #2a5298; box-shadow: 0 0 0 2px rgba(42, 82, 152, 0.2); } .remember-forgot { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 14px; } .checkbox-label { display: flex; align-items: center; color: #555; } .checkbox-label input { margin-right: 8px; } .forgot-link { color: #2a5298; text-decoration: none; transition: color 0.3s; } .forgot-link:hover { color: #1e3c72; } .login-btn { width: 100%; padding: 12px; background: #2a5298; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.3s; } .login-btn:hover { background: #1e3c72; } .divider { margin: 20px 0; border-top: 1px solid #eee; position: relative; text-align: center; } .divider::before { content: "或"; background: white; padding: 0 15px; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); color: #999; } .social-login { display: flex; justify-content: center; gap: 15px; } .social-btn { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 6px; background: white; display: flex; align-items: center; justify-content: center; color: #555; font-size: 14px; cursor: pointer; transition: all 0.3s; } .social-btn:hover { background: #f1f1f1; } .signup-link { margin-top: 20px; text-align: center; font-size: 14px; color: #555; } .signup-link a { color: #2a5298; text-decoration: none; font-weight: 500; margin-left: 5px; } @media (max-width: 480px) { .login-container { border-radius: 8px; } .brand-title { font-size: 20px; } } </style> </head> <body> <div class="login-container"> <div class="brand-header"> <div class="brand-logo">DS</div> <div class="brand-title">大厂科技平台</div> </div> <div class="form-wrapper"> <form action="/login" method="post"> <div class="form-group"> <label for="email">邮箱地址</label> <input type="email" id="email" name="email" required placeholder="请输入注册邮箱"> </div> <div class="form-group"> <label for="password">密码</label> <input type="password" id="password" name="password" required placeholder="请输入密码"> </div> <div class="remember-forgot"> <label class="checkbox-label"> <input type="checkbox" name="remember"> 记住账号 </label> <a href="#" class="forgot-link">忘记密码?</a> </div> <button type="submit" class="login-btn">立即登录</button> <div class="divider"></div> <div class="social-login"> <button type="button" class="social-btn">Google</button> <button type="button" class="social-btn">微信</button> </div> <div class="signup-link"> 没有账号?<a href="#">立即注册</a> </div> </form> </div> </div> </body> </html>这个模板包含以下专业特性:
- 现代设计语言:
- 使用渐变背景和卡片式设计
- Google Material Design风格的阴影效果
- 响应式布局适配移动端
- 优雅的字体排版(Roboto字体)
- 安全与可用性:
- 输入验证(required属性)
- 密码类型输入框
- 记住账号选项
- 忘记密码链接
- 第三方登录整合:
- 提供社交登录区域(可扩展集成)
- 品牌展示:
- 企业级LOGO占位区
- 品牌色系(蓝色主色调)
- 专业字体系统
- 交互细节:
- 按钮悬停效果
- 输入焦点状态
- 分隔符设计
- 清晰的CTA按钮
- 可维护性:
- 语义化HTML结构
- 模块化CSS命名
- 移动优先的响应式设计
可以根据实际需求修改品牌名称、颜色方案和API接口地址等部分。建议配合HTTPS和后端验证机制实现完整的登录功能。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.