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;
  }
}
.........完整代码请登录后点击上方下载按钮下载查看

网友评论0