-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexercise2.css
56 lines (49 loc) · 931 Bytes
/
exercise2.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
/* styles.css */
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #000000;
}
.calculator {
background: #000000;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
margin-bottom: 20px;
}
input[type="text"] {
width: calc(100% - 22px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
text-align: right;
font-size: 18px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.buttons button {
padding: 20px;
font-size: 18px;
border: none;
background-color: purple;
color: white;
border-radius: 4px;
cursor: pointer;
}
.buttons button:hover {
background-color: pink;
}
#result {
margin-top: 20px;
font-size: 18px;
}