added form validation design

This commit is contained in:
Chneemann 2024-04-08 08:32:35 +02:00
parent e9dd827724
commit 01740eb730
2 changed files with 14 additions and 1 deletions

View file

@ -124,7 +124,7 @@
</div> </div>
</div> </div>
<div class="priority"> <div class="priority">
<p>Prio<span class="red-dot">*</span></p> <p>Prio</p>
<div class="btns"> <div class="btns">
<button <button
type="button" type="button"

View file

@ -22,6 +22,18 @@ select {
resize: none; resize: none;
} }
input:invalid,
textarea:invalid,
select:invalid {
border: 1px dashed red;
}
input:valid,
textarea:valid,
select:valid {
border: 1px solid black;
}
p { p {
font-size: 20px; font-size: 20px;
font-weight: 400; font-weight: 400;
@ -78,6 +90,7 @@ p {
.assigned-badget { .assigned-badget {
display: flex; display: flex;
margin-top: 6px; margin-top: 6px;
height: 40px;
} }
.circle { .circle {