div+css布局实现酷黑ai编程工具落地介绍页ui代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局实现酷黑ai编程工具落地介绍页ui代码

代码标签: div css 布局 酷黑 ai 编程 工具 落地 介绍页 ui 代码

下面为部分代码预览,完整代码请点击下载或在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>码力方 (BuildMatrix AI) - 描述即上线,AI 驱动的全栈应用生成器</title>
    
    <!-- Font Awesome CDN -->
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css">
    
    <!-- Google Fonts (Poppins) -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">

    <style>
        /* --- 全局样式重置与基础设定 --- */
        :root {
            --primary-color: #3A86FF;
            --secondary-color: #8338EC;
            --dark-bg: #0D1117;
            --card-bg: rgba(22, 27, 34, 0.7);
            --border-color: #30363D;
            --text-primary: #E6EDF3;
            --text-secondary: #8B949E;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
            background-color: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.7;
            overflow-x: hidden;
        }

        /* --- 动态粒子背景 --- */
        #particle-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.5;
        }
        
        /* --- 容器与布局 --- */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 1;
        }

        /* --- 导航栏 --- */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            background: rgba(13, 17, 23, 0.8);
            backdrop-filter: blur(10px);
            z-index: 100;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            text-decoration: none;
        }

        .logo .icon {
            color: var(--primary-color);
            margin-right: 0.5rem;
        }

        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            margin-left: 2rem;
            font-weight: 400;
            transition: color 0.3s ease;
        }
        .nav-links a:hover { color: var(--primary-color); }

        /* --- 按钮样式 --- */
        .btn {
            display: inline-block;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }
        .btn-primary {
            background: var(--primary-color);
            color: #fff;
            box-shadow: 0 4px 20px rgba(58, 134, 255, 0.3);
        }
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(58, 134, 255, 0.5);
        }

        /* --- Hero 区域 --- */
        .hero {
            text-align: center;
            padding: 8rem 0;
            min-height: 90vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero .........完整代码请登录后点击上方下载按钮下载查看

网友评论0