-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (41 loc) · 760 Bytes
/
style.css
File metadata and controls
46 lines (41 loc) · 760 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
}
.calculator {
border: 1px solid #ccc;
padding: 10px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.display {
background: #222;
color: white;
text-align: right;
padding: 10px;
font-size: 2em;
border-radius: 5px;
margin-bottom: 10px;
height: 50px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.btn {
background: #f0f0f0;
border: none;
padding: 20px;
font-size: 1.5em;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.btn:hover {
background: #ddd;
}