Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
tingjiangcao authored Nov 21, 2024
1 parent edbd518 commit 91c9e9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
background-color: #f7f7f7;
display: flex;
justify-content: center;
align-items: flex-start; /* 让内容从顶部开始对齐 */
align-items: center; /* 居中对齐 */
height: 100vh;
margin: 0;
}

img {
max-width: 200px;
height: auto;
margin-top: 20px; /* 设置上边距,调整图片的位置 */
position: relative;
top: -200px; /* 向上偏移200px */
}
</style>
</head>
Expand Down

0 comments on commit 91c9e9d

Please sign in to comment.