time-countdown.wxss
883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.num-wrapper {
display: inline-block;
position: relative;
width: 72rpx;
height: 84rpx;
font-size: 50rpx;
line-height: 84rpx;
background: #444;
color: white;
font-weight: bolder;
}
.num-wrapper + .num-wrapper {
margin-left: 10rpx;
}
.mask {
position: absolute;
width: 100%;
height: 50%;
top: 0;
left: 0;
opacity: 0.4;
background-color: black;
z-index: 0;
}
.num-text {
z-index: 99;
}
.mask-left {
position: absolute;
width:3.5rpx;
height: 8rpx;
top: calc(50% - 4rpx);
left: 0;
background-color: white;
}
.mask-right {
position: absolute;
width:3.5rpx;
height: 8rpx;
top: calc(50% - 4rpx);
right: 0;
background-color: white;
}
.number-seprator {
font-size: 60rpx;
line-height: 84rpx;
height: 84rpx;
margin-left: 10rpx;
margin-right: 10rpx;
box-sizing: border-box;
color: black;
display: inline-block;
}