效果:
代码:
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AI Tools Hub - 未来科技助手</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; } body { background: #0a192f; color: #ccd6f6; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 2rem; } nav { background: rgba(10, 25, 47, 0.95); padding: 1.5rem; backdrop-filter: blur(10px); position: fixed; width: 100%; top: 0; border-bottom: 1px solid #64ffda33; } .nav-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; } .logo { font-size: 1.8rem; font-weight: 700; background: linear-gradient(45deg, #64ffda, #00f3ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .hero { margin-top: 8rem; text-align: center; } h1 { font-size: 3.5rem; margin-bottom: 1.5rem; background: linear-gradient(45deg, #64ffda, #00f3ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; } .card { background: rgba(17, 34, 64, 0.5); border-radius: 15px; padding: 2rem; transition: transform 0.3s ease; border: 1px solid #64ffda33; } .card:hover { transform: translateY(-10px); background: rgba(17, 34, 64, 0.8); } .card h3 { color: #64ffda; margin-bottom: 1rem; font-size: 1.3rem; } .card p { color: #8892b0; font-size: 0.95rem; } .icon { font-size: 2rem; margin-bottom: 1rem; color: #00f3ff; } .btn { display: inline-block; padding: 0.8rem 2rem; background: linear-gradient(45deg, #00f3ff, #64ffda); color: #0a192f; border-radius: 25px; text-decoration: none; font-weight: 600; margin-top: 2rem; transition: transform 0.3s ease; } .btn:hover { transform: scale(1.05); } @media (max-width: 768px) { h1 { font-size: 2.5rem; } .card-grid { grid-template-columns: 1fr; } } </style> </head> <body> <nav> <div class="nav-content"> <div class="logo">AI TOOLS HUB</div> <div> 首页 产品 关于 登录 </div> </div> </nav> <div class="container"> <section class="hero"> <h1>探索未来AI工具</h1> <p style="color: #8892b0; max-width: 600px; margin: 0 auto;"> 汇聚最前沿的人工智能工具,助力您的数字创新之旅 </p > 立即探索 </section> <div class="card-grid"> <div class="card"> <div class="icon">🤖</div> <h3>智能写作助手</h3> <p>基于GPT-4的智能写作工具,帮助您快速生成高质量文案、创意内容。</p > </div> <div class="card"> <div class="icon">🎨</div> <h3>AI图像生成</h3> <p>使用Stable Diffusion技术,通过文字描述生成高质量数字艺术作品。</p > </div> <div class="card"> <div class="icon">📊</div> <h3>数据分析引擎</h3> <p>智能数据分析平台,自动生成可视化报告与商业洞察。</p > </div> </div> </div> </body> </html>