-
Notifications
You must be signed in to change notification settings - Fork 0
/
计算器.css
69 lines (60 loc) · 1.08 KB
/
计算器.css
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
59
60
61
62
63
64
65
66
67
68
69
.main{
width: 268px;
margin: 0 auto;
border: 1px solid #f5f5f5;
border-radius: 8px;
background-color: #e6e6e6;
padding: 24px;
transform: scale(1.5);
margin-top: 8rem;
}
.history,.operation{
border: 1px solid #f5f5f5;
border-radius: 4px;
background-color: white;
padding: 0 8px;
margin-bottom: 8px;
}
.history{
min-height: 6rem;
height: 6rem;
overflow-y: scroll;
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
border-radius: 3px;
background: rgba(0,0,0,0.06);
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.08);
}
::-webkit-scrollbar-thumb {
border-radius: 3px;
background: rgba(0,0,0,0.12);
-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}
.history p{
line-height: 2px;
text-align: right;
}
.operation{
line-height: 2rem;
text-align: right;
width: 15.6rem;
}
.one,.two{
font-size: 1.4rem;
line-height: 1.4rem;
height: 2rem;
}
.one{
width: 3rem;
}
.two{
width: 6.3rem;
}
.br{
padding: 4px;
}