-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
63 lines (54 loc) · 945 Bytes
/
style.css
File metadata and controls
63 lines (54 loc) · 945 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
56
57
58
59
60
61
62
63
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #f4f4f9;
font-family: Arial, sans-serif;
}
.calculator {
background: #fff;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
width: 260px;
}
#display {
width: 92%;
height: 50px;
margin-bottom: 15px;
font-size: 1.5rem;
text-align: right;
padding: 10px;
border-radius: 8px;
border: 1px solid #ccc;
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
button {
flex: 1 1 20%;
padding: 15px;
font-size: 1.2rem;
border: none;
border-radius: 10px;
cursor: pointer;
background: #e0e0e0;
transition: background 0.3s;
}
button:hover {
background: #d4d4d4;
}
.equal {
background: #4caf50;
color: white;
flex: 1 1 45%;
}
.equal:hover {
background: #45a049;
}
.zero {
flex: 1 1 45%;
}