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.8.1.css">
    <style>
        :root {
            --primary-color: #1890ff; /* 主题蓝 */
            --secondary-color: #6c63ff; /* 辅助紫 */
            --card-bg: linear-gradient(145deg, #ffffff 70%, #f0f6ff 100%); /* 卡片背景渐变 */
            --card-shadow: 0 10px 40px rgba(24, 144, 255, 0.1); /* 卡片阴影 */
            --text-dark: #333;
            --text-light: #666;
            --bg-light: #f8f9fa; /* 浅灰背景 */
            --bg-white: #ffffff;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
            color: var(--text-dark);
            background-color: var(--bg-white);
            overflow-x: hidden; /* 防止水平滚动 */
        }
        /* --- 导航栏 --- */
        .navbar {
            background: transparent; /* 首屏透明 */
            position: absolute;
            width: 100%;
            z-index: 1000;
            padding: 20px 0;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }
        .navbar.scrolled {
            background-color: rgba(255, 255, 255, 0.95); /* 滚动后变白色背景 */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .navbar-brand {
            font-weight: bold;
            color: white; /* 首屏白色 */
            font-size: 24px;
            transition: color 0.3s ease;
        }
        .navbar.scrolled .navbar-brand {
             color: var(--primary-color); /* Logo变蓝色 */
        }
        .btn-login {
            background-color: var(--primary-color);
            color: white;
            border-radius: 20px; /* 更圆润 */
            padding: 8px 25px;
            font-size: 14px;
            border: none;
            transition: background-color 0.3s ease;
        }
        .btn-login:hover {
            background-color: #096dd9; /* 悬停加深 */
        }
        /* --- 首屏 Hero Section --- */
        .hero-section {
            height: 100vh;
            width: 100%;
            background: linear-gradient(135deg, #1a237e, #0d47a1, #0288d1); /* 深蓝渐变 */
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }
        .hero-content h1 {
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .hero-content p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 30px;
            text-shadow: 0 1px 5px rgba(0,0,0,0.2);
            opacity: 0.9;
        }
        .btn-primary-custom {
            background-color: white;
            color: var(--primary-color);
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .btn-outline-custom {
            border: 2px solid white;
            color: white;
            background-color: transparent;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s ease;
        }
        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
        .btn-outline-custom:hover {
            background-color: rgba(255,255,255,0.1);
            transform: translateY(-3px);
        }
        /* --- SVG 动画 --- */
        .svg-container {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }
        .floating { animation: float 6s ease-in-out infinite; }
        .rotating { animation: rotate 20s linear infinite; }
        .pulse { animation: pulse 3s ease-in-out infinite; }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        @keyfra.........完整代码请登录后点击上方下载按钮下载查看

网友评论0