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 skill */
.listSkill{
  display: flex;
  flex-wrap: wrap;
  
}
.listSkill li{
  width: 25%;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.circle{
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 113, 104,0.4);
}
.circle::after{
  content: "";
  display: block;
  background-color: #02005B;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%)
}
.p90,.p180,.p270,.p360{
  width: 50%;
  height: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  background-color: #FF7168;
}
.p180{
  top: 50%;
}
.p270{
  left: 0;
  top: 50%;
}
.p360{
  left: 0;
  top: 0;
}


/* list program */

.listProgram .bar{
  width: 150px;
  height: 10px;
  border: solid 2px #FF7168;
  border-radius: 5px
}
.listProgram li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}
.value{
  height: 100%;
  width: 60%;
  background-color: #FF7168;
}
.value.p10{
  width: 10%;
}
  
.value.p20{
  width: 20%;
}
.value.p30{
  width: 30%;
}
.value.p40{
  width: 40%;
}
.value.p50{
  width: 50%;
}
.value.p60{
  width: 60%;
}
.value.p70{
  width: 70%;
}
.value.p80{
  width: 80%;
}
.value.p90{
  width: 90%;
}

.value.p100{
  width: 100%;
}

.btn{
  border: solid 3px #FF7168;
  padding: 5px 20px;
  margin-right: 10px;
}
.fill{
  background-color: #FF7168;
}
</style>



</head>

<body>
  <div class="resume">
  <div class="left">
    <h1>吴哲宇</h1>
    <h4>动画互动网页特效入门 | 墨雨设计</h4>
    <hr>
    <p>动画互动网页程式入门讲师、墨雨设计 Monoame Design 负责人、设计与网页全端双棲的工程师,为了有趣的想法赴汤蹈火。</p>
    <div class="buttons">
      <a class="btn fill" href="" target="_blank">作品集</a>
      <a class="btn" href="" target="_blank">Github</a>
    </div>
    <div class="block">
      <h4>Skills</h4>
      <h2>专业技能</h2>
      <ul class="listSkill">
        <li>
          <div class="circle">
            <div class="p90"></div>
            <div class="p180"></div>
            <div class="p270"></div>
            <div class="p360"></div>
          </div>
          前端网页开发(html/css/js)
        </li>
        <li>
          
          <div class="circle">
            <div class="p90"></div>
            <div class="p180"></div>
            <div class="p270"></div>
          </div>
          后端网页 (laravel)
        </li>
        <li>
          
          <div class="circle">
            <div class="p90"></div>
            <div class="p180"></div>
            <div class="p270"></div>
          </div>
          平面设计<br>插画
        </li>
        <li>
          
          <div class="circle">
            <div class="p90"></div>
            <div class="p180"></div>
            <div class="p270"></div>
          </div>
          品牌视觉规划 (CIS)
        </li>
        <li>
          
          <div class="circle">
            <div class=".........完整代码请登录后点击上方下载按钮下载查看

网友评论0