css实现大气自适应响应式个人简历页面代码
代码语言:html
所属分类:响应式
代码描述:css实现大气自适应响应式个人简历页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body,
html {
height: 100%;
margin: 0;
font-family: "Raleway", "Microsoft JhengHei";
}
.wrapper {
min-width: 900px;
min-height: 1000px;
background: #fff;
}
.header {
margin-top: 20px;
height: 300px;
background: #ffc107;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.header h1 {
font-size: 3em;
}
.side {
min-height: 3000px;
background: #333;
position: absolute;
top: 0;
left: 20px;
width: 300px;
padding: 20px;
color: #fff;
}
.side h2 {
color: #ffc107;
}
.side a{
color:#fff;
}
.photo {
width: 250px;
height: 250px;
margin: auto;
margin-top: 20px;
border-radius: 100%;
background-color: #fff;
background-image: url("//repo.bfw.wiki/bfwrepo/image/60d41f5173b0d.png");
background-size: cover;
border: 10px #ffc107 solid;
}
.info,
.skills {
margin-top: 50px;
}
.skills p {
margin: 30px 0px 0px 0px;
}
.box-ck,
.box {
display: inline-flex;
width: 23px;
height: 5px;
margin: 0px 1px;
}
.box {
background: #eee;
}
.box-ck {
background: #ffc107;
}
.content,
.header * {
margin-left: 370px;
}
.content {
padding: 20px;
}
.content p,.content li{
text-align: justify;
letter-spacing:0.5px;
line-height:1.5
}
.content li{
list-style:none;
}
.content li:before{
content: '';
display: inline-block;
height: 10px;
width: 13px;
margin-right:5px;
background-repeat: no-repeat;
background-size:cover;
background-image:url(//repo.bfw.wiki/bfwrepo/image/60d41f5173b0d.pngs)
}
.line {
border-bottom: 1px solid #ffc107 !important;
position: relative;
}
.line:before {
content: "";
position: absolute;
display: inline-block;
border: 3px solid #ffc107;
border-width: 3px 20px;
top: -3px;
border-radius: 3px;
}
a{
text-decoration:none;
color:#333;
}
a {
display: inline-block;
position: relative;
padding:0px;
}
a:before, a:after {
content: '';
display: block;
position: absolute;
height: 2px;
width: 0;
}
a:before {
transition: width 0s ease,background .4s ease;
bottom: -2px;
}
a:after {
right: 2.2%;
bottom: -2px;
bac.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0