<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>个人简介</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Microsoft Yahei", sans-serif;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 20px;
}
.card {
width: 100%;
max-width: 520px;
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(12px);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 40px 35px;
color: #fff;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.avatar {
width: 110px;
height: 110px;
border-radius: 50%;
margin: 0 auto 22px;
border: 3px solid rgba(255,255,255,0.35);
display:block;
object-fit: cover;
}
h1 {
text-align: center;
font-size: 28px;
margin-bottom: 10px;
letter-spacing: 2px;
}
.tag {
text-align: center;
font-size: 16px;
opacity: 0.85;
margin-bottom: 28px;
}
.info-item {
margin: 16px 0;
font-size: 16px;
line-height: 1.75;
}
.desc {
margin-top: 24px;
padding-top: 22px;
border-top: 1px solid rgba(255,255,255,0.2);
line-height: 1.8;
font-size: 15.5px;
}
.links {
display:flex;
gap:14px;
justify-content:center;
margin-top:30px;
}
.link-btn {
padding:9px 20px;
border-radius:30px;
border:1px solid rgba(255,255,255,0.3);
color:#fff;
text-decoration:none;
transition:0.25s;
}
.link-btn:hover {
background:rgba(255,255,255,0.2);
}
</style>
</head>
<body>
<div class="card">
<!-- 头像,把src替换成你的图片链接 -->
<img class="avatar" src="https://picsum.photos/id/1005/300/300" alt="头像">
<h1>你的名字</h1>
<div class="tag">标签 / 职业 / 身份</div>
<div class="info-item">
📌 坐标:填写所在地
</div>
<div class="info-item">
💼 领域:从事行业/擅长方向
</div>
<div class="info-item">
✉️ 联系:你的邮箱/联系方式
</div>
<div class="desc">
这里填写自我介绍文案。
可以写个人爱好、经历、理念、目标等内容。
热爱生活,持续学习,保持热爱奔赴山海。
</div>
<div class="links">
<a class="link-btn" href="#">主页</a>
<a class="link-btn" href="#">社交账号</a>
</div>
</div>
</body>
</html>