<div class="mark">NAMECARD</div>
<div class='namecard'>
<h2>王冠智
<span>(Guan-Zhi Wang)</span>
</h2>
<h5>Software Engineer</h5>
<hr>
<p>就讀實踐大學,努力邁向高級攻城獅 </p>
<div class="circle circle1"></div>
<div class="circle circle2"></div>
</div>
<h3 class='page_title'>我的名片</h3>
*{
/* border: solid 1px; */
font-family:微軟正黑體;
position: relative;
}
html,body{
width: 100%; height: 100%;
padding: 0px; margin:0px;
}
body{
background-color:#90E4CF;
border-top: solid 20px #AD8231;
border-bottom: solid 20px #AD8231;
/* 框線體積內縮 */
box-sizing: border-box;
overflow: hidden;
}
.namecard{
width: 350px; height: 200px;
padding: 20px;
margin-left: auto;
margin-right: auto;
margin-top:100px;
background-color:#E08B55;
letter-spacing: 1px;
color: #000000;
font-weight: 100;
overflow: hidden;
border: solid 1px rgba(0,0,0,0.15);
border-radius: 6px;
box-shadow: 0px 0px 15px rgba(0,0,0,0.4);
}
.namecard h2{
font-size:25px;
font-weight: 700;
}
.namecard h2 span{
font-size:12px;
}
.namecard h5{
color: #805708
font-weight: 500;
}
.namecard p{
font-size: 20px;
line-height: 22px;
}
.circle{
width: 100px; height: 100px;
border-radius: 100%;
position: absolute;
}
.circle1{
right: 100px;
background-color: #805708;
}
.circle2{
width: 60px; height: 60px;
right: -30px;
top:-30px;
border: solid 3px #805708;
}
.page_title{
text-align: center;
color: #555;
font-weight: 500;
}
.mark{
font-size: 300px;
position: absolute;
bottom: 100px;
font-weight: 100;
color: rgba(0,0,0,0.035);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.