-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
75 lines (65 loc) · 1.29 KB
/
style1.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
63
64
65
66
67
68
69
70
71
72
73
74
75
body {
background-color: hwb(143 20% 14%);
}
.container {
max-width: 400px;
margin: 200px auto;
padding: 20px;
background-color: #f2f2f2;
border: 2px solid #1e5f8a;
border-radius: 5px;
box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2);
}
h2 {
margin-top: 0;
color: #000;
text-align: center;
text-decoration: underline;
}
form {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
label {
font-size: large;
font-weight: 600;
margin-bottom: 5px;
color: #000;
}
input[type="number"],
select {
width: 95%;
padding: 10px;
border: none;
background: #fff;
border-radius: 5px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
margin-bottom: 10px;
}
input[type="number"]:focus,
select:focus {
outline: none;
box-shadow: 0px 0px 5px #3498db;
}
select {
width: 100%;
}
input[type="submit"] {
padding: 10px;
margin-top: 10px;
background-color: #3498db;
border: none;
border-radius: 3px;
color: #fff;
cursor: pointer;
transition: background-color 0.5s ease;
}
input[type="submit"]:hover {
background-color: #2187b5;
}
#result {
font-weight: bold;
margin-top: 20px;
color: #3498db;
}