-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpasswordvalidation1.css
More file actions
79 lines (66 loc) · 1.48 KB
/
passwordvalidation1.css
File metadata and controls
79 lines (66 loc) · 1.48 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
73
74
75
76
77
78
79
input {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 2px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 12px;
}
.container{
width: 350px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
* color: darkslategray; */
border 0px solid ;
padding: 15px;
margin: 2px;
background-color:
text-align: center;
width: 50%;
padding: 30px;
background-color: #fff;
}
/* Style the submit button */
input[type=submit] {
background-color: #04AA6D;
color: white;
}
/* Style the container for inputs */
.container {
background-color: #f1f1f1;
padding: 1px;
}
/* The message box is shown when the user clicks on the password field */
#message {
display:none;
background: #f1f1f1;
color: #000;
position: relative;
padding: 20px;
margin-top: 10px;
}
#message p {
padding: 10px 35px;
font-size: 18px;
}
/* Add a green text color and a checkmark when the requirements are right */
.valid {
color: green;
}
.valid:before {
position: relative;
left: -30px;
content: "✔";
}
/* Add a red text color and an "x" icon when the requirements are wrong */
.invalid {
color: red;
}
.invalid:before {
position: relative;
left: -40px;
content: "✖";
}