-
Notifications
You must be signed in to change notification settings - Fork 1
/
calculator.css
97 lines (86 loc) · 1.59 KB
/
calculator.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
html{
background-color: black !important;
}
.calculator{
width: 50%;
height: 60%;
background-color: rgb(31, 202, 145);
border-radius: 20px;
border: 10px yellowgreen solid;
margin-left: 25%;
margin-top: 10%;
}
.screen{
width: 90%;
margin-left: 5%;
margin-top: 5%;
height: 20%;
background-color: black;
}
.keys{
width: 90%;
height: 60%;
margin-left: 5%;
margin-top: 5%;
background-color: aqua;
}
.numberKey{
width: 90%;
margin-left: 5%;
font-size: 3vh;
background-color: yellow;
height: 100%;
border: 2px black solid;
border-radius: 20px;
}
.numberKey:hover{
background-color: white;
cursor: pointer;
}
.sum{
width: 90%;
background-color: rgb(59, 59, 211);
height: 100%;
font-size: 8vh;
color: white;
text-align: center;
border: 3px rgb(59, 59, 211) solid;
border-radius: 30px;
}
.sum:hover{
background-color: white;
color: rgb(59, 59, 211);
cursor: pointer;
border: 3px rgb(59, 59, 211) solid;
}
.equal{
width: 90%;
height: 90%;
background-color: rgb(35, 182, 9);
font-size: 5vh;
border-radius: 30px;
color: white;
border: 2px rgb(35, 182, 9) solid;
}
.equal:hover{
background-color: white;
color: rgb(35, 182, 9);
cursor: pointer;
}
.clear{
width: 90%;
height: 90%;
background-color: red;
font-size: 3vh;
border-radius: 30px;
color: white;
border: 2px red solid;
}
.clear:hover{
background-color: white;
color: red;
cursor: pointer;
}
.input{
text-align:right !important;
}