-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathstyles.css
57 lines (50 loc) · 965 Bytes
/
styles.css
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f5f5f5;
margin: 0;
font-family: Arial, sans-serif;
}
.calculator {
background-color: #fff;
border-radius: 10px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
width: 300px;
padding: 20px;
}
.display {
background-color: #222;
color: #fff;
font-size: 2em;
text-align: right;
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.btn {
background-color: #f0f0f0;
border: none;
padding: 20px;
font-size: 1.2em;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s;
}
.btn:hover {
background-color: #e0e0e0;
}
.equal {
grid-column: span 2;
background-color: #4caf50;
color: #fff;
}
.equal:hover {
background-color: #45a049;
}