div+css布局大气自适应ai聊天生成应用官网代码
代码语言:html
所属分类:布局界面
代码描述:gemini3生成的大气自适应ai聊天生成应用官网代码,一次性生成,非常强大。
代码标签: gemini 生成 大气 自适应 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>LinkBot.ai - 零代码构建您的AI智能体</title>
<style>
/* --- 核心变量定义 --- */
:root {
--primary-color: #4F46E5; /* 科技蓝 */
--primary-hover: #4338ca;
--secondary-color: #ec4899; /* 活力紫红,用于渐变 */
--text-main: #111827;
--text-gray: #6B7280;
--bg-color: #ffffff;
--bg-light: #f9fafb;
--max-width: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: var(--text-main);
line-height: 1.6;
background-color: var(--bg-color);
-webkit-font-smoothing: antialiased;
}
/* --- 通用工具类 --- */
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 20px;
}
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
/* 按钮样式 */
.btn {
display: inline-block;
padding: 12px 28px;
font-weight: 600;
border-radius: 50px;
text-decoration: none;
transition: all 0.3s ease;
font-size: 1rem;
}
.btn-primary {
background: var(--primary-color);
color: white;
box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}
.btn-outline {
background: transparent;
color: var(--text-main);
border: 1px solid #e5e7eb;
margin-left: 15px;
}
.btn-outline:hover {
border-color: var(--text-main);
}
/* --- Header / 导航栏 --- */
header {
height: 80px;
position: sticky;
top: 0;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
z-index: 100;
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container {
height: 100%;
}
.logo {
font-weight: 800;
font-size: 1.5rem;
color: var(--text-main);
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
}
.nav-links a {
margin-left: 30px;
text-decoration: none;
color: var(--text-gray);
font-weight: 500;
transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-main); }
/* 移动端隐藏导航链接 */
@media (max-width: 768px) {
.nav-links { display: none; }
}
/* --- Hero Section / 首屏区域 --- */
.her.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0