-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
109 lines (87 loc) · 1.35 KB
/
index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
body{
background-color: #222;
font-family: Georgia;
box-sizing: border-box;
}
input{
display:block;
width:100%;
padding:10px;
margin: 10px auto;
border: none;
box-sizing: border-box;
background:transparent;
border-top: 2px solid #555;
outline: none;
transition: color 0.3s, background 0.3s;
color:#bbb;
}
input::placeholder{
color: #bbb;
font-weight:800;
}
input:hover {
background:#bbb;
}
input:hover::placeholder{
color:#333;
}
input[type="submit"]{
width: 50%;
margin:auto;
background: #bbb;
font-weight: 600;
color: #333;
}
input[type="submit"]:hover{
background:#777;
}
input[type="datetime-local"]{
background: #bbb;
font-size: large;
}
input:focus{
background: #bbb;
color: #000;
}
form{
width:80%;
margin:auto;
padding: 30px;
}
p{
color: #bbb;
font-weight:800;
padding:5px;
text-align: center;
}
h2{
color:#bbb;
text-align: center;
}
.resultados{
margin:2%;
font-size: x-large;
}
.green{
color:#5f5;
}
.red{
color: #f22;
}
span {
display:none;
}
input + span {
padding-right: 30px;
}
input:invalid+span:after {
position: absolute;
content: '✖';
color:#f22;
}
input:valid+span:after {
position: absolute;
content: '✓';
color:#5f5;
}