div+css布局实现ai工具类pc端官网主页布局代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局实现ai工具类pc端官网主页布局代码
代码标签: div css 布局 ai 工具类 pc 端 官网 主页 布局 代码
下面为部分代码预览,完整代码请点击下载或在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>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #f5f6fa;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
margin-bottom: 40px;
}
.tabs {
display: flex;
justify-content: center;
margin-bottom: 30px;
border-bottom: 1px solid #e0e0e0;
}
.tab {
padding: 12px 24px;
cursor: pointer;
color: #666;
text-decoration: none;
position: relative;
}
.tab.active {
color: #0066ff;
}
.tab.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 2px;
background-color: #0066ff;
}
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 60px;
}
.feature-card {
background: #fff;
border-radius: 8px;
padding: 24px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
width: 40px;
height: 40px;
background-color: #f0f7ff;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
}
.feature-icon i {
color: #0066ff;
font-size: 20px;
}
.feature-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 12px;
}
.feature-desc {
color: #666;
font-size: 14px;
}
.advantages {
background: #fff;
border-radius: 12px;
padding: 40px;
margin-bottom: 60px;
}
.section-title {
text-align: center;
font-size: 24px;
margin-bottom: 40px;
}
.advantage-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
.advantage-item {
text-align: center;
}
.advantage-icon {
width: 60px;
height: 60px;
margin: 0 auto 16px;
}
.advantage-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
}
.advantage-desc {
font-size: 14px;
color: #666;
}
.cases {
margin-bottom: 60px;
}
.case-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.case-card {
.........完整代码请登录后点击上方下载按钮下载查看
网友评论0