-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.css
More file actions
73 lines (58 loc) · 1.11 KB
/
Copy pathforms.css
File metadata and controls
73 lines (58 loc) · 1.11 KB
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
form {
background-color: #b4b4b4;
border: 2px solid black;
}
body {
background-color: #DCDCDC;
}
label {
display: block;
}
input {
width: 60%;
padding: 12px 20px;
margin: 8px 0;
box-sizing: border-box;
border: 2px solid black;
border-radius: 4px;
}
input[type=submit]{
border-image: url("blueButton.png") 0 14 0 14 stretch;
background: url("blueButton.png");
margin-top: 5px;
margin-bottom: 10px;
font-size: 16px;
/*add an image to your button*/
background-size: cover;
background-position:center center;
/*set width and height for the button*/
height: 20%;
width: 100px;
}
.error {
visibility: hidden;
background-color: LightYellow;
color: DarkRed;
width: 160px;
padding: 10px;
border: 1px solid gray;
position: absolute;
left: 120px;
box-shadow: 3px 3px 3px #999999;
border-radius: 7px;
}
input:required {
background-color: light yellow;
border: 2px solid black;
border-radius: 4px;
}
input:invalid {
background-color: light red;
border: 2px solid red;
border-radius: 4px;
}
input:valid {
background-color: light green;
border: 2px solid green;
border-radius: 4px;
}