feat: minlength validation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
cellarspoon
2022-01-10 10:33:07 +01:00
parent df35fe181a
commit 3f326b74d6
3 changed files with 35 additions and 7 deletions

View File

@ -11,3 +11,15 @@ th, td {
table, th, td {
border: 1px solid black;
}
input {
border: 2px solid currentcolor;
}
input:invalid {
border: 2px dashed red;
}
input:invalid:focus {
background-image: linear-gradient(magenta, pink);
}

View File

@ -11,3 +11,19 @@ th, td {
table, th, td {
border: 1px solid black;
}
input {
border: 2px solid currentcolor;
}
input:invalid {
border: 2px dashed red;
}
input:invalid:focus {
background-image: linear-gradient(magenta, pink);
}
.error {
color: red;
}