-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
62 lines (50 loc) · 940 Bytes
/
style.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
58
59
60
61
62
body {background-color:black;
font-family: Arial, Helvetica, sans-serif;
}
h1{color:#808080;
font-weight: bold;
text-align: center;
}
#box{
background-color: white;
width: 600px;
padding:20px;
margin: 0px auto;
border-radius: 25px;
}
#rate{
width: 181px;
}
#years{
width: 70px;
}
#form{
display: grid;
grid-template-columns: 140px 1fr;
gap: 10px;
width: 400px;
margin-left:100px;
}
#form label, #form button {
grid-column: 1 / 2;
}
#form input, .input {
grid-column: 2 / 3;
}
#result{
grid-column: 1/3;
}
#footer{
margin-top:10px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
input[type=number] {
-moz-appearance:textfield; /* Firefox */
}
span.highlight{
background-color: yellow;
}