div+css实现三套主色调简洁的简历模板代码
代码语言:html
所属分类:布局界面
代码描述:div+css实现三套主色调简洁的简历模板代码
代码标签: div css 三套 简洁 主色调 简历 模板 代码
下面为部分代码预览,完整代码请点击下载或在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>简洁大气简历模板</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}
.resume {
width: 100%;
max-width: 800px;
background: white;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
margin-bottom: 40px;
position: relative;
overflow: hidden;
}
.resume-header {
padding: 40px;
position: relative;
overflow: hidden;
}
.resume-body {
padding: 0 40px 40px;
position: relative;
z-index: 2;
}
.name {
font-size: 32px;
font-weight: bold;
margin-bottom: 5px;
}
.title {
font-size: 18px;
margin-bottom: 20px;
font-weight: 500;
}
.contact-info {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
}
.contact-item {
display: flex;
align-items: center;
font-size: 14px;
}
.contact-icon {
margin-right: 8px;
width: 16px;
height: 16px;
}
.section {
margin-bottom: 30px;
}
.section-title {
font-size: 20px;
font-weight: bold;
margin-bottom: 15px;
padding-bottom: 8px;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
}
.experience-item, .education-item {
margin-bottom: 20px;
}
.item-header {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.item-title {
font-weight: bold;
font-size: 16px;
}
.item-date {
font-size: 14px;
color: #666;
}
.item-subtitle {
font-size: 15px;
margin-bottom: 8px;
}
.item-description {
font-size: 14px;
color: #555;
}
.skills {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.skill-item {
padding: 6px 12px;
border-radius: 20px;
font-size: 14px;
}
.template-selector {
display: flex;
justify-content: center;
margin-bottom: 30px;
gap: 15px;
}
.template-btn {
padding: 8px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
}
.template-btn:hover {
transform: translateY(-2px);
}
/* 模板1 - 蓝色主题 */
.blue-theme .resume-header {
background: linear-gradient(135deg, #2196F3, #0D47A1);
color: white;
}
.blue-theme .section-title::after {
background-color: #2196F3;
}
.blue-theme .skill-item {
background-color: #E3F2FD;
color: #0D47A1;
}
.blue-theme .template-btn {
background-color: #2196F3;
color: white;
}
/* 模板2 - 绿色主题 */
.green-theme .resume-header {
background: linear-gradient(135deg, #4CAF50, #1B5E20);
color: white;
}
.green-theme .section-title::after {
background-color: #4CAF50;
}
.green-theme .skill-item {
background-color: #E8F5E9;
color: #1B5E20;
}
.green-theme .template-btn {
backg.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0