-
Notifications
You must be signed in to change notification settings - Fork 1
/
form.css
70 lines (65 loc) · 1.29 KB
/
form.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
<style>
fieldset {
display: block;
width: 50%;
text-align:center;
margin-left: 25%;
margin-right: 25%;
}
button:hover {
background-color:#1E90FF;
}
</style>
<style>
input,select,button{
padding: 5px 8px;
margin: 4px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 3px;
box-sizing: border-box;
}
select{
padding:11px;
width:100%;
border-radius:4px;
text:bold;
}
input[type=text],input[type=date],input[type=mail],input[type=tel],input[type=date]{
padding:11px;
width:99%;
box-sizing:border-box;
}
input[type=submit] {
background-color: #1E90FF;
color: white;
padding: 5px 8px;
margin: 4px 0;
border: none;
border-radius: 3px;
cursor: pointer;
}
input[type=submit]:hover {
background-color:#45a049;
}
input[type=text]{
text-transform:uppercase;
}
input[type=text]:focus,input[type=date]:focus,input[type=tel]:focus,input[type=mail]:focus,input[type=marks]:focus,input[type=month]:focus {
background-color:powderblue;
}
input[type=marks],input[type=month]{
width:100%;
}
</style>
<style>
legend{
color:#1E90FF;
}
th{
text-align:center;
}
td{
text-align:left;
}
</style>