css布局实现一张程序员个人简历页面效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现一张程序员个人简历页面效果代码

代码标签: css 程序员 个人 简历

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
*{
/*   border: solid 1px black; */
}
body{
  padding: 50px;
  display: flex;
  justify-content: center;
  background-color: #02005B;
  color: rgba(255,255,255,0.95);
  font-size: 15px;
  line-height: 28px;
  letter-spacing: 1px;
  font-family: "微软正黑体",sans-serif;
}

/* 复写区 */
ul{
  padding: 0;
  list-style: none;
}
h2{
  margin: 0;
  margin-bottom: 25px;
  font-weight: 400;
}
h2::after{
  content: "";
  display: inline-block;
  width: 20px;
  height: 8px;
  background-color: #FF7168;
  margin-left: 10px;
}
h4{
  margin: 0;
  margin-top: 40px;
  opacity: 0.8;
  font-weight: 400;
}
a{
  color: white;
  text-decoration: none
}
hr{
  border: none;
  border-bottom: solid 4px #FF7168;
  width: 40%;
  margin-left: 0;
}


.resume{
  display: flex;
  max-width: 950px;
  border: solid 8px white;
  padding: 50px;
  position: relative;
}
.left{
  flex: 5
}
.right{
  flex: 7
}
.left,.right{
  padding: 15px
}
.left{
  padding-right: 50px;
  border-right: solid 1px #FF7168;
}

.right{
  padding-left: 50px;
  padding-top: 150px;
}


.decoration{
  width: 300px;
  height: 140px;
  background: linear-gradient(135deg,#FF5F5F,#FFFFAE);
  border-radius: 70px 0px 0px 70px;
  position: absolute;
  right: 0;
  top: 50px;
}

.listExperience>li{
  display: flex;
  margin-bottom: 10px;
  
}

.listExperience>li:nth-child(1) ul{
  border-color: #FF7168
}
.listExperience>li:nth-child(2) ul{
  border-color: #FFA582
}
.listExperience>li:nth-child(3) ul{
  border-color: #FFB087
}
.listExperience>li:nth-child(4) ul{
  border-color: #FFDE9E
}
.listExperience li ul{
  padding-left: 10px;
  margin-left: 10px;
  border-left: solid 4px white
}


/* list .........完整代码请登录后点击上方下载按钮下载查看

网友评论0