fix: 修改样式

This commit is contained in:
zhangds 2024-03-25 20:06:00 +08:00
parent e534fb7221
commit 24534b2b53
1 changed files with 2 additions and 2 deletions

View File

@ -129,14 +129,14 @@ a {
.countdown {
position: absolute;
top: 50%;
top: 2%;
left: 50%;
display: flex;
align-items: center;
color: #fff;
z-index: 999;
/* 使用transform属性进行微调确保完全居中 */
transform: translate(-50%, -50%);
transform: translate(-50%, 0%);
}
.countdown p {