-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.css
47 lines (42 loc) · 988 Bytes
/
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
body {
font-family: 'Arial', sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f2f2f2;
}
.calculator {
background-color: #130a0a;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(62, 22, 22, 0.1);
width: 300px;
margin-top: 50px;
}
input {
width: 90%;
padding: 15px;
margin-bottom: 15px;
font-size: 24px;
border: 1px solid #3b3535;
border-radius: 10px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
.button {
padding: 15px;
font-size: 20px;
border: 1px solid #0c3561;
border-radius: 5px;
cursor: pointer;
background-color: #916a2b;
transition: background-color 0.3s ease; /* Add transition for smooth color change */
}
.button:hover {
background-color: #235b60;
}