-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
79 lines (66 loc) · 1.29 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
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: peachpuff;
}
div#calculator {
width: 375px;
height: 388px;
border: 2px solid black;
border-radius: 20px;
background-color: #f4cdc8;
box-sizing: content-box;
}
h1 {
text-align: center;
color: blue;
margin-bottom: 20px;
font-family: 'Oswald', sans-serif;
transition: 0.4s;
}
h1:hover {
transform: scale(1.2);
}
input[type="text"] {
border-radius: 20px;
border: 1px solid brown;
}
button {
width: 70px;
margin: 10px;
}
button.AC {
width: 165px;
}
button.zero {
width: 165px;
}
button#operations {
background-color:palevioletred;
border-radius: 20px;
transition: 0.2s;
}
button#numbers {
background-color: #aaaaac;
border-radius: 20px;
transition: 0.2s;
}
button#headerButtons {
background-color: #7e7e7e;
border-radius: 20px;
transition: 0.2s;
}
button#operations:hover {
transform: scale(0.9);
border: 1px solid black;
}
button#numbers:hover {
transform: scale(0.9);
border: 1px solid black;
}
button#headerButtons:hover {
transform: scale(0.9);
border: 1px solid black;
}