div+css布局ai工具类科技公司官网html源码
代码语言:html
所属分类:布局界面
代码描述:div+css布局ai工具类科技公司官网html源码
代码标签: div css 布局 ai 工具类 科技 公司 官网 html 源码
下面为部分代码预览,完整代码请点击下载或在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>NeuroTech | 智能AI工具箱</title> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.7.0.css">"> <style> :root { --deep-blue: #0A1F3A; --gradient-start: #0077B6; --gradient-end: #00A8E8; --neon-accent: #00F5FF; --quantum-purple: #6E44FF; --tech-silver: #E5E9F2; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'PingFang SC', sans-serif; } body { background-color: var(--deep-blue); color: white; overflow-x: hidden; position: relative; } body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 30%, rgba(0, 117, 182, 0.15) 0%, transparent 30%), radial-gradient(circle at 80% 70%, rgba(0, 168, 232, 0.15) 0%, transparent 30%); z-index: -1; pointer-events: none; } /* 导航栏 */ header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; position: fixed; width: 100%; z-index: 100; background: rgba(10, 31, 58, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 245, 255, 0.1); } .logo { display: flex; align-items: center; gap: 12px; } .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); border-radius: 8px; display: grid; place-items: center; font-weight: bold; font-size: 20px; color: white; } .logo-text { font-size: 1.5rem; font-weight: 700; background: linear-gradient(to right, var(--tech-silver), var(--neon-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } nav ul { display: flex; gap: 2rem; list-style: none; } nav a { color: var(--tech-silver); text-decoration: none; font-weight: 500; position: relative; padding-bottom: 5px; transition: all 0.3s ease; } nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--neon-accent); transition: width 0.3s ease; } nav a:hover { color: white; } nav a:hover::after { width: 100%; } .cta-button { background: linear-gradient(45deg, var(--quantum-purple), #8A2BE2); border: none; color: white; padding: 0.8rem 1.5rem; border-radius: 30px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(110, 68, 255, 0.4); } .cta-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(110, 68, 255, 0.6); } /* 英雄区域 */ .hero { min-height: 100vh; display: flex; align-items: center; padding: 0 5%; padding-top: 80px; position: relative; overflow: hidden; } .hero-content { max-width: 600px; z-index: 2; } .hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.2; background: linear-gradient(to right, white, var(--neon-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .hero p { font-size: 1.2rem; margin-bottom: 2.5rem; line-height: 1.6; color: rgba(229, 233, 242, 0.9); } .main-cta { display: inline-block; background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)); padding: 1.2rem 2.5rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: white; box-shadow: 0 10px 30px rgba(0, 168, 232, 0.5); transition: all 0.3s ease; position: relative; overflow: hidden; border: none; cursor: pointer; } .main-cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: 0.5s; } .main-cta:hover::before { left: 100%; } .main-cta:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 168, 232, 0.7); } .hero-image { position: absolute; right: 5%; width: 50%; max-width: 700px; height: 70vh; background: url('https://example.com/ai-dashboard-preview.png') no-repeat center/contain; filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.3)); animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } /* 产品卡片 */ .products-section { padding: 8rem 5%; background: linear-gradient(to bottom, var(--deep-blue), #0C2443); position: relative; } .section-header { text-align: center; margin-bottom: 4rem; } .section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; background: linear-gradient(to right, var(--tech-silver), var(--neon-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .section-header p { color: rgba(229, 233, 242, 0.7); max-width: 700px; margin: 0 auto; line-height: 1.6; } .products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .product-card { background: rgba(16, 42, 87, 0.6); border-radius: 15px; padding: 2rem; transition: all 0.3s ease; position: relative; overflow: hidden; border: 1px solid rgba(0, 245, 255, 0.1); backdrop-filter: blur(10px); } .product-card::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, var(--gradient-start), var(--neon-accent), var(--quantum-purple)); z-index: -1; border-radius: 16px; opacity: 0; transition: opacity 0.3s ease; } .product-card:hover::before { opacity: 0.7; } .product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 168, 232, 0.2); } .product-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.5rem; font-size: 1.8rem; } .product-card h3 { font-size: 1.5rem; margin-bottom: 1rem; } .product-card p { color: rgba(229, 233, 242, 0.7); margin-bottom: 1.5rem; line-height: 1.6; } .product-features { margin-top: 1.5rem; } .product-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; color: var(--tech-silver); } .product-features i { color: var(--neon-accent); } /* 技术指标 */ .stats-section { padding: 6rem 5%; background: linear-gradient(to right, #0C2443, var(--deep-blue)); text-align: center; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 4rem; } .stat-item { background: rgba(16, 42, 87, 0.6); padding: 2rem; border-radius: 10px; border: 1px solid rgba(0, 245, 255, 0.1); transition: all 0.3s ease; } ..........完整代码请登录后点击上方下载按钮下载查看
网友评论0