form validation complete
This commit is contained in:
+13
-11
@@ -3521,6 +3521,10 @@ header.fix_style.white_header {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.contact_page_section .contact_inner .contact_form form .form-group textarea {
|
||||
resize: none;
|
||||
}
|
||||
|
||||
/* For the err msg */
|
||||
.contact_page_section .contact_inner .contact_form form .form-group span{
|
||||
font-size: 12px;
|
||||
@@ -3529,20 +3533,18 @@ header.fix_style.white_header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contact_page_section .contact_inner .contact_form form .form-group input:invalid ~ span{
|
||||
.contact_page_section .contact_inner .contact_form form .form-group input:valid[focused="true"]{
|
||||
border: 1px solid var(--dark-purple);
|
||||
}
|
||||
|
||||
.contact_page_section .contact_inner .contact_form form .form-group input:invalid[focused="true"]{
|
||||
border: 1px solid tomato;
|
||||
}
|
||||
|
||||
.contact_page_section .contact_inner .contact_form form .form-group input:invalid[focused="true"] ~ span{
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
input:invalid[focused="true"]{
|
||||
border: 1px solid red;
|
||||
}
|
||||
|
||||
input:invalid[focused="true"] ~ span{
|
||||
display: block;
|
||||
}
|
||||
*/
|
||||
|
||||
.contact_page_section
|
||||
.contact_inner
|
||||
.contact_form
|
||||
|
||||
Reference in New Issue
Block a user