Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickyangtpe authored Feb 26, 2024
1 parent 01f1e81 commit 0d5361a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
}

#title-text {
top: calc(53% - 58px); /* 将文本放置在按钮上方 */
top: calc(58% - 58px); /* 将文本放置在按钮上方 */
}

/* 添加样式以创建半透明的黑色区块 */
#overlay {
position: absolute;
bottom: 0;
width: 100%;
height: 30%; /* 调整高度以控制黑色区块的大小 */
height: 50%; /* 增加高度为50% */
background-color: rgba(0, 0, 0, 0.5); /* 设置半透明黑色 */
}
</style>
Expand Down

0 comments on commit 0d5361a

Please sign in to comment.