div+css布局实现pc端ai科技工具类网站代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现pc端ai科技工具类网站代码
代码标签: div css 布局 pc端 ai 科技 工具类 网站 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>AI Studio - 领先的人工智能技术平台</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; } body { background: #0a0a0a; color: #ffffff; line-height: 1.6; } .navbar { position: fixed; top: 0; width: 100%; padding: 1.5rem 10%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); z-index: 1000; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .logo { font-size: 2rem; font-weight: bold; background: linear-gradient(45deg, #00ff88, #00b4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 0.5rem; } .nav-links { display: flex; gap: 2.5rem; } .nav-links a { color: #ffffff; text-decoration: none; font-size: 1.1rem; transition: all 0.3s; position: relative; } .nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: linear-gradient(45deg, #00ff88, #00b4ff); transition: width 0.3s; } .nav-links a:hover::after { width: 100%; } .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 10% 5rem; background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%); position: relative; overflow: hidden; } .hero-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px); background-size: 50px 50px; animation: moveGrid 15s linear infinite; } @keyframes moveGrid { 0% { transform: translateY(0); } 100% { transform: translateY(50px); } } .hero-content { position: relative; z-index: 1; text-align: center; max-width: 1200px; } .hero h1 { font-size: 4.5rem; line-height: 1.2; margin-bottom: 1.5rem; background: linear-gradient(45deg, #00ff88, #00b4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: titleGlow 2s ease-in-out infinite alternate; } @keyframes titleGlow { from { text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); } to { text-shadow: 0 0 40px rgba(0, 180, 255, 0.5); } } .hero p { font-size: 1.5rem; color: #cccccc; margin-bottom: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; } .tech-advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; padding: 6rem 10%; background: #0f0f0f; position: relative; } .tech-card { background: rgba(26, 26, 26, 0.8); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s; position: relative; overflow: hidden; } .tech-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, #00ff8822, #00b4ff22); opacity: 0; transition: opacity 0.3s; } .tech-card:hover { transform: translateY(-10px); border-color: rgba(0, 255, 136, 0.3); } .tech-card:hover::before { opacity: 1; } .tech-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #00ff88; position: relative; } .tech-card p { color: #cccccc; font-size: 1.1rem; line-height: 1.8; position: relative; } .tech-stats { margin-top: 2rem; padding: 1rem; background: rgba(0, 0, 0, 0.3); border-radius: 10px; text-align: center; } .tech-stats span { font-size: 2rem; color: #00b4ff; display: block; margin-bottom: 0.5rem; } .cta-buttons { display: flex; gap: 2rem; justify-content: center; margin-top: 3rem; } .cta-button { padding: 1.2rem 3rem; font-size: 1.2rem; border-radius: 50px; text-decoration: none; transition: all 0.3s; position: relative; overflow: hidden; } .cta-primary { background: linear-gradient(45deg, #00ff88, #00b4ff); color: #ffffff; } .cta-secondary { background: transparent; color: #ffffff; border: 2px solid #00ff88; } .cta-button:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 255, 136, 0.3); } @media (max-width: 1200px) { .tech-advantages { .........完整代码请登录后点击上方下载按钮下载查看
网友评论0