-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
53 lines (47 loc) · 846 Bytes
/
style.css
File metadata and controls
53 lines (47 loc) · 846 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
body {
background: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Segoe UI', sans-serif;
margin: 0;
}
.calculator {
background: #222;
padding: 20px;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0,0,0,0.25);
width: 300px;
}
#display {
width: 100%;
height: 50px;
font-size: 1.5em;
text-align: right;
padding: 10px;
border: none;
margin-bottom: 10px;
border-radius: 5px;
background: #fff;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
button {
padding: 15px;
font-size: 1.2em;
background: #333;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background: #555;
}
button.zero {
grid-column: span 2;
}