css实现一个设计师UI个人简历效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现一个设计师UI个人简历效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
padding: 50px;
justify-content: center;
background-color: #f8f8ff;
font-size: 14px;
line-height: 20px;
color: #636366;
font-family: 'Oxygen', sans-serif;
}
ul {
padding: 0;
list-style: none;
}
a {
text-decoration: none;
color: #3b4144;
}
h1,h2,h3,h4,h5,h6 {
margin: 0;
}
h1 {
line-height: 60px;
}
h2 {
font-size: 22px;
font-family: 'Open Sans', sans-serif;
}
h3 {
font-size: 15px;
letter-spacing: 0.5px;
margin-bottom: 10px;
}
h4 {
font-size: 20px;
margin-bottom: 20px;
}
h5 {
font-size: 13px;
line-height: 25px;
}
p {
font-size: 13px;
line-height: 23px;
}
.resume {
margin: 0 auto;
max-width: 850px;
min-width: 700px;
border: solid #fff 7px;
padding: 25px;
overflow: hidden;
}
.decoration {
width: 300px;
height: 100px;
background: linear-gradient(135deg, #ffb2e4, #82d5ff);
border-radius: 70px;
position: absolute;
transform: rotate(-30deg);
}
.decoration:nth-of-type(1) {
top: -95px;
left: 74%;
}
.decoration:nth-of-type(2) {
top: 40px;
left: 71%;
width: 400px;
}
.top,.left,.right,.footer {
padding: 15px;
}
.content {
display: flex;
}
.left {
flex: 5;
padding-right: 30px;
padding-left: 30px;
}
.right {
flex: 8;
padding-left: 40px;
border-left: 3px solid #fff;
}
.top {
display: flex;
position:relative;
margin-bottom: 20px;
}
.footer {
margin-top: 30px;
padding-left: 40px;
}
.myPhoto,.nameCircle {
width: 120px;
height: 120px;
background-color: #fff;
border-radius: 50%;
margin-left: 10px;
background-image: url("//repo.bfw.wiki/bfwrepo/image/60d41f5173b0d.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_100,h_100,/quality,q_90");
background-size: 120px 120px;
background-position: center;
}
.nameCircle {
position: absolute;
left: 35px;
z-index: -1;
background: linear-gradient(135deg, #ffb2e4, #82d5ff);
border: none;
}
.myName {
padding-left: 40px;
padding-top: 10p.........完整代码请登录后点击上方下载按钮下载查看
网友评论0