-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
132 lines (121 loc) · 3.06 KB
/
index.html
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>LOGIN HUELLITA</title>
<link rel="stylesheet" type="text/css" href="css/LOGIN.CSS">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/1.0.2/tailwind.min.css"
/>
<link rel="stylesheet" href="/css/styles.css" />
</head>
<body>
<form action="VETERINARIA.HTML" method="post">
<h1>Sign in</h1>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" spellcheck=false required placeholder="Email" autocomplete="off" />
<label for="Password">Password</label>
<input type="password" required placeholder="Password" autocomplete="off" />
<button type="submit" class="submitbtn" ><a href="MOI$E$/VETERINARIA.HTML"></a>inciar sesion</button>
</div>
</form>
<style type="text/css">
:root {
--valid: hsl(140 80% 40%);
--invalid: hsl(10 80% 40%);
--input: hsl(0 0% 0%);
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-weight: 100;
background-color: hsl(0 0% 6%);
color: hsl(0 0% 98%);
}
.form-group {
--active: 0;
container-type: inline-size;
flex: 1;
}
form {
width: 40ch;
}
input {
--is-valid: 0;
--is-invalid: 0;
background: linear-gradient(var(--input), var(--input)) padding-box,
linear-gradient(var(--invalid), var(--invalid))
calc((1 - var(--is-invalid)) * -100cqi) 0 / 100% 100% border-box,
linear-gradient(var(--valid), var(--valid))
calc((1 - var(--is-valid)) * 100cqi) 0 / 100% 100% border-box,
var(--input);
border: 2px solid transparent;
font-size: 1rem;
background-repeat: no-repeat;
max-width: 100%;
font-family: "Geist Sans", "SF Pro", sans-serif;
font-weight: 40;
background-color: #3b4148;
border-radius: 10px;
color: #a9a9a9;
margin-bottom: 1em;
padding: 0 16px;
width: 100%;
outline: 0;
height: 50px;
}
label {
margin-bottom: 0.5rem;
display: inline-block;
padding-left: 5px;
opacity: calc(var(--active) + 0.45);
transition: opacity 0.5s;
}
.form-group:focus-within {
--active: 1;
}
input:invalid:not(:placeholder-shown):not(:focus-visible) {
--is-invalid: 1;
}
input:valid {
--is-valid: 1;
}
@media (prefers-reduced-motion: no-preference) {
input {
transition: background-position 0.5s;
}
}
.submitbtn {
background: #2a292c;
border: 0;
margin-top: 0.5rem;
width: 100%;
height: 45px;
border-radius: 10px;S
color: white;
cursor: pointer;
transition: background 0.3s ease-in-out;
}
.submitbtn:hover {
background: #404949;
}
h1{
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.5rem;
font-weight: 400;
font-size: 30px;
color: #a9a9a9;
}
</style>
</body>
</html>