fix: 修改样式
This commit is contained in:
parent
e534fb7221
commit
24534b2b53
|
@ -129,14 +129,14 @@ a {
|
||||||
|
|
||||||
.countdown {
|
.countdown {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 2%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
/* 使用transform属性进行微调,确保完全居中 */
|
/* 使用transform属性进行微调,确保完全居中 */
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, 0%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.countdown p {
|
.countdown p {
|
||||||
|
|
Loading…
Reference in New Issue