-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (65 loc) · 1.37 KB
/
Copy pathstyle.css
File metadata and controls
74 lines (65 loc) · 1.37 KB
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
64
65
66
67
68
69
70
71
72
73
74
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #3a3d40, #181818);
font-family: 'Poppins', sans-serif;
color: white;
background: url(shazaib.jpg);
background-size: cover;
}
.calculator {
background: #222;
padding: 20px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
width: 320px;
}
.display {
width: 100%;
height: 60px;
margin-bottom: 20px;
text-align: right;
padding: 10px;
font-size: 32px;
border: none;
border-radius: 10px;
background: #333;
color: #0f0;
box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.4);
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
}
button {
padding: 20px;
font-size: 20px;
border: none;
border-radius: 10px;
background: #444;
color: #fff;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
cursor: pointer;
transition: all 0.3s ease;
}
button:hover {
background: #555;
}
button:active {
box-shadow: inset 0 4px 10px rgba(0,0,0,0.5);
}
button:nth-child(4n) {
background: #f39c12;
color: white;
}
button:last-child {
background: #27ae60;
color: white;
}
button.equalBtn {
background: #e74c3c;
color: white;
}