<!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 {
background-color: #f5f7fa;
color: #333;
text-align: center;
padding: 80px 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
background: #fff;
padding: 50px 30px;
border-radius: 12px;
box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
h1 {
font-size: 32px;
color: #2563eb;
margin-bottom: 20px;
}
p {
font-size: 16px;
line-height: 1.8;
color: #666;
margin-bottom: 30px;
}
.btn {
display: inline-block;
padding: 12px 28px;
background: #2563eb;
color: white;
text-decoration: none;
border-radius: 6px;
transition: 0.3s;
}
.btn:hover {
background: #1d4ed8;
}
footer {
margin-top: 40px;
font-size: 14px;
color: #999;
}
</style>
</head>
<body>
<div class="container">
<h1>欢迎来到我的主页</h1>
<p>这是一个极简自适应HTML首页,内置CSS样式,无需额外文件,打开即可直接浏览。</p>
<a href="#" class="btn">了解更多</a>
</div>
<footer>
© 2026 简易主页 All Rights Reserved
</footer>
</body>
</html>