-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (51 loc) · 897 Bytes
/
style.css
File metadata and controls
58 lines (51 loc) · 897 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #a8edea, #fed6e3);
font-family: 'Poppins', sans-serif;
}
.calculator {
background: #fff;
padding: 20px;
border-radius: 20px;
box-shadow: 0 8px 20px rgba(0,0,0,0.2);
width: 280px;
}
#display {
width: 100%;
height: 60px;
border: none;
outline: none;
font-size: 24px;
text-align: right;
padding: 10px;
border-radius: 10px;
background: #f7f7f7;
margin-bottom: 15px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
button {
height: 60px;
font-size: 20px;
border: none;
border-radius: 10px;
background: #e0e0e0;
transition: 0.2s;
}
button:hover {
background: #d1d1d1;
}
.equal {
grid-column: span 2;
background: #6c63ff;
color: white;
}
.equal:hover {
background: #574bff;
}