-
Notifications
You must be signed in to change notification settings - Fork 0
/
cm-to-feet.css
53 lines (45 loc) · 736 Bytes
/
cm-to-feet.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
.container {
max-width: 500px;
margin: 50px auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.input-container {
margin-bottom: 10px;
}
label {
font-weight: bold;
display: block;
}
input[type="number"] {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.button-container {
display: flex;
justify-content: center;
}
button {
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
margin: 0 10px;
}
#calculate-btn {
background-color: green;
color: #fff;
}
#reset-btn {
background-color: red;
color: #fff;
}
button:hover {
opacity:0.8;
}