-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-CN"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Heath的个人网页</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
background-color: #f4f4f9; | ||
color: #333; | ||
} | ||
.container { | ||
width: 80%; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
header { | ||
background-color: #4CAF50; | ||
color: white; | ||
padding: 10px 0; | ||
text-align: center; | ||
} | ||
.profile { | ||
text-align: center; | ||
margin: 20px 0; | ||
} | ||
.profile img { | ||
border-radius: 50%; | ||
width: 150px; | ||
height: 150px; | ||
} | ||
.profile h1 { | ||
margin: 10px 0; | ||
font-size: 2em; | ||
} | ||
.profile p { | ||
font-size: 1.2em; | ||
color: #777; | ||
} | ||
.content { | ||
background-color: white; | ||
padding: 20px; | ||
box-shadow: 0 0 10px rgba(0,0,0,0.1); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<header> | ||
<h1>Heath的个人网页</h1> | ||
</header> | ||
<div class="container"> | ||
<div class="profile"> | ||
<img src="https://via.placeholder.com/150" alt="Heath's profile picture"> | ||
<h1>Heath</h1> | ||
<p>简介风格的个人网页</p> | ||
</div> | ||
<div class="content"> | ||
<h2>关于我</h2> | ||
<p>你好!我是Heath,这里是我的个人网页。我喜欢分享我的工作和生活。</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |