-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path100-projects-017-calculator.css
More file actions
55 lines (49 loc) · 958 Bytes
/
100-projects-017-calculator.css
File metadata and controls
55 lines (49 loc) · 958 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
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 20px;
background-color: #333444;
}
.container {
display: flex;
justify-content: center;
align-items: center;
margin: 150px auto;
border: 2px #ccc solid;
border-radius: 5px;
background-color: #ccc;
width: 280px;
height: 390px;
box-shadow: 0 0 25px rgba(204, 204, 204, 1.5);
}
#calculator {
width: 200px;
margin: auto;
padding: 20px;
background: #aaa;
border-radius: 5px;
}
#display {
width: 100%;
height: 30px;
margin-bottom: 10px;
color: #000;
}
.button, .operator {
width: 45px;
height: 45px;
margin: 2px;
cursor: pointer;
font-size: 18px;
}
.button:hover, .operator:hover, #clear:hover, #equals:hover {
background-color: #333344;
color: white;
}
#clear, #equals {
width: 94px;
height: 30px;
margin-top: 10px;
}