bootstrap自适应简洁高科技公司官网首页代码
代码语言:html
所属分类:布局界面
代码描述:bootstrap自适应简洁高科技公司官网首页代码
代码标签: bootstrap 自适应 简洁 高科技 公司 官网 首页 代码
下面为部分代码预览,完整代码请点击下载或在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;
--accent-color: #00c9ff;
--dark-blue: #0d47a1;
--light-bg: #f5f7fa;
--dark-text: #333;
--light-text: #666;
--card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body {
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
color: var(--dark-text);
background-color: #fff;
overflow-x: hidden;
}
/* 导航栏样式 */
.navbar {
background-color: transparent;
position: absolute;
width: 100%;
z-index: 1000;
padding: 20px 0;
}
.navbar-brand {
font-weight: bold;
color: white;
font-size: 24px;
}
.btn-login {
background-color: rgba(255, 255, 255, 0.2);
color: white;
border-radius: 30px;
padding: 8px 25px;
font-size: 14px;
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
transition: all 0.3s ease;
}
.btn-login:hover {
background-color: white;
color: var(--primary-color);
}
/* 首屏样式 */
.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);
}
.btn-primary-custom {
background-color: white;
color: var(--primary-color);
border: none;
padding: 12px 30px;
border-radius: 30px;
font-size: 1.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0