bootstrap自适应大气深色高科技ai公司官网首页代码
代码语言:html
所属分类:布局界面
代码描述:bootstrap自适应大气深色高科技ai公司官网首页代码,包含关于我们、核心产品、我们的优势、团队风采、联系我们等板块,点击可滚动到相应板块栏目。
代码标签: bootstrap 自适应 大气 深色 高科技 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科技公司 - 智能工具平台</title> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.5.3.0.css"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.11.3.css"> <style> /* 基础样式重置与全局设置 */ :root { --primary-color: #00f0ff; --secondary-color: #5800ff; --dark-bg: #0a0a20; --medium-bg: #111133; --light-bg: #1a1a40; --text-light: #ffffff; --text-muted: rgba(255, 255, 255, 0.8); /* Improved contrast */ --accent-glow: 0 0 15px rgba(0, 240, 255, 0.6); --hover-glow: 0 0 25px rgba(0, 240, 255, 0.8); --gradient-primary: linear-gradient(120deg, #00f0ff, #5800ff); --gradient-dark: linear-gradient(120deg, #0a0a20, #1a1a40); --border-radius: 8px; --transition-speed: 0.3s; } body { font-family: 'Rajdhani', 'NotoSansSC', Arial, sans-serif; /* Added fallback */ background-color: var(--dark-bg); color: var(--text-light); line-height: 1.6; overflow-x: hidden; background-image: radial-gradient(circle at 25% 10%, rgba(0, 240, 255, 0.05) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(88, 0, 255, 0.05) 0%, transparent 40%); background-attachment: fixed; } /* 网格线背景效果 */ body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px); background-size: 40px 40px; z-index: -1; pointer-events: none; } /* 导航栏高科技样式 */ .navbar { background: rgba(10, 17, 40, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); /* Safari support */ border-bottom: 1px solid rgba(100, 180, 255, 0.2); padding: 15px 0; transition: all 0.4s ease; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); z-index: 1000; } .navbar.scrolled { background: rgba(15, 25, 55, 0.95); padding: 10px 0; } .navbar-brand { font-weight: 700; font-size: 24px; color: #fff; display: flex; align-items: center; position: relative; text-shadow: 0 0 10px rgba(100, 180, 255, 0.5); } .navbar-brand i { margin-right: 8px; font-size: 26px; background: linear-gradient(135deg, #1890ff, #6c63ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 8px rgba(100, 180, 255, 0.6)); } .navbar-brand::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #1890ff, #6c63ff, transparent); opacity: 0; transition: opacity 0.4s ease; } .navbar-brand:hover::after { opacity: 1; } .navbar-toggler { border: none; background: rgba(100, 180, 255, 0.1); padding: 8px; border-radius: 5px; transition: all 0.3s ease; } .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(100, 180, 255, 0.3); } .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } .nav-item { position: relative; margin: 0 5px; } .nav-link { color: rgba(255, 255, 255, 0.8); font-weight: 500; padding: 8px 15px; transition: all 0.3s ease; position: relative; z-index: 1; font-size: 15px; letter-spacing: 0.5px; } .nav-link::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: linear-gradient(90deg, #1890ff, #6c63ff); transition: width 0.3s ease; border-radius: 2px; } .nav-link:hover { color: #fff; text-shadow: 0 0 10px rgba(100, 180, 255, 0.5); } .nav-link:hover::before { width: 70%; } .nav-link.active { color: #fff; text-shadow: 0 0 10px rgba(100, 180, 255, 0.5); } .nav-link.active::before { width: 70%; } .btn-login { background: linear-gradient(135deg, #1890ff, #6c63ff); color: white; border: none; padding: 8px 20px; border-radius: 30px; font-weight: 600; font-size: 14px; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(24, 144, 255, 0.3); } .btn-login::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: left 0.5s ease; } .btn-login:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(24, 144, 255, 0.5); color: white; } .btn-login:hover::before { left: 100%; } /* 响应式调整 */ @media (max-width: 991px) { .navbar-collapse { background: rgba(15, 25, 55, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 10px; padding: 20px; margin-top: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border: 1px solid rgba(100, 180, 255, 0.1); } .nav-item { margin: 5px 0; } .btn-login { margin-top: 10px; width: 100%; text-align: center; } } /* 首屏英雄区高科技样式 */ .hero-section { position: relative; height: 100vh; min-height: 700px; width: 100%; overflow: hidden; background: linear-gradient(135deg, #0a1128 0%, #1a2a6c 50%, #0a1128 100%); display: flex; align-items: center; justify-content: center; z-index: 1; } /* 神经网络背景 */ .neural-network-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; } /* 内容区域 */ .hero-content { position: relative; z-index: 10; text-align: center; max-width: 800px; padding: 0 20px; color: white; animation: fadeIn 1s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* 故障文字效果 */ .glitch-text { font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; position: relative; text-shadow: 0 0 10px rgba(24, 144, 255, 0.5); background: linear-gradient(90deg, #fff, #1890ff, #6c63ff, #fff); background-size: 400% 400%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient 8s ease infinite, glow 3s ease-in-out infinite; } .glitch-text::before, .glitch-text::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8; } .glitch-text::before { color: #0ff; z-index: -1; animation: glitch-animation 3s infinite; } .glitch-text::after { color: #f0f; z-index: -2; animation: glitch-animation 2s infinite; } @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes glitch-animation { 0% { transform: translate(0); } 20% { transform: translate(-1px, 1px); } 40% { transform: translate(-1px, -1px); } 60% { transform: translate(1px, 1px); } 80% { transform: translate(1px, -1px); } 100% { transform: translate(0); } } @keyframes glow { 0%, 100% { text-shadow: 0 0 8px rgba(24, 144, 255, 0.5); } 50% { text-shadow: 0 0 15px rgba(24, 144, 255, 0.8); } } /* 打字机效果 */ .typing-text { font-size: 1.2rem; line-height: 1.6; margin-bottom: 2rem; overflow: hidden; white-space: nowrap; animation: typing 4s steps(100) 1s forwards; opacity: 0; color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 5px rgba(100, 180, 255, 0.3); } @keyframes typing { from { width: 0; opacity: 1; } to { width: 100%; opacity: 1; } } /* 按钮容器 */ .btn-container { display: flex; justify-content: center; gap: 20px; margin-top: 2rem; } /* 主按钮 */ .btn-primary-custom { background: linear-gradient(135deg, #1890ff, #6c63ff); color: white; border: none; padding: 12px 25px; border-radius: 30px; font-size: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(24, 144, 255, 0.4); } .btn-primary-custom::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: left 0.6s ease; } .btn-primary-custom:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(24, 144, 255, 0.6); } .btn-primary-custom:hover::before { left: 100%; } .btn-primary-custom i { transition: transform 0.3s ease; } .btn-primary-custom:hover i { transform: translateX(5px); } /* 次要按钮 */ .btn-outline-custom { background: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.3); padding: 12px 25px; border-radius: 30px; font-size: 1rem; font-weight: 600; display:.........完整代码请登录后点击上方下载按钮下载查看
网友评论0