fix: 修改样式
This commit is contained in:
parent
e534fb7221
commit
24534b2b53
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue