-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFile25_CSS
More file actions
78 lines (67 loc) · 1.29 KB
/
Copy pathFile25_CSS
File metadata and controls
78 lines (67 loc) · 1.29 KB
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f4f4f4;
margin: 0;
font-family: Arial, sans-serif;
}
.calculator {
border: 1px solid #ccc;
border-radius: 5px;
padding: 20px;
background-color: #fff;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.calculator-screen {
width: 100%;
height: 40px;
border: none;
background-color: #252525;
color: #fff;
text-align: right;
padding-right: 10px;
padding-left: 10px;
font-size: 1.5em;
border-radius: 5px;
margin-bottom: 10px;
}
.calculator-keys {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
button {
height: 50px;
border: none;
border-radius: 5px;
background-color: #f0f0f0;
font-size: 1.2em;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #dcdcdc;
}
.operator {
background-color: #f9a825;
color: white;
}
.operator:hover {
background-color: #f57f17;
}
.equal-sign {
background-color: #4caf50;
color: white;
grid-column: span 2;
}
.equal-sign:hover {
background-color: #388e3c;
}
.all-clear {
background-color: #e53935;
color: white;
}
.all-clear:hover {
background-color: #d32f2f;
}