css布局实现自适应响应式ai文生视频服务落地页官网介绍页代码
代码语言:html
所属分类:响应式
代码描述:css布局实现自适应响应式ai文生视频服务落地页官网介绍页代码
代码标签: css 布局 自适应 响应式 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>VideoAI Pro - 智能AI视频生成平台</title>
<!-- Bootstrap Icons CDN -->
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.11.3.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
/* 导航栏 */
.navbar {
position: fixed;
top: 0;
width: 100%;
padding: 20px 50px;
background: rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
z-index: 1000;
transition: all 0.3s ease;
}
.navbar.scrolled {
background: rgba(0, 0, 0, 0.9);
padding: 15px 50px;
}
.nav-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 28px;
font-weight: bold;
color: #fff;
text-decoration: none;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
gap: 10px;
}
.logo i {
font-size: 32px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.nav-links {
display: flex;
list-style: none;
gap: 40px;
}
.nav-links a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
font-size: 16px;
}
.nav-links a:hover {
color: #667eea;
}
/* Hero Section - 首屏 */
.hero {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -2;
}
.video-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: -1;
}
.hero-content {
text-align: center;
color: white;
z-index: 1;
max-width: 900px;
padding: 0 20px;
animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero h1 {
font-size: 60px;
margin-bottom: 20px;
font-weight: 700;
line-height: 1.2;
}
.hero .subtitle {
font-size: 24px;
margin-bottom: 40px;
opacity: 0.9;
}
.cta-buttons {.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0