Form Validation for Contact Form
This commit is contained in:
@@ -3521,28 +3521,6 @@ header.fix_style.white_header {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* For the err msg */
|
||||
.contact_page_section .contact_inner .contact_form form .form-group span{
|
||||
font-size: 12px;
|
||||
color: tomato;
|
||||
padding: 3px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contact_page_section .contact_inner .contact_form form .form-group input:invalid ~ 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