Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css on field blank red border

input,
textarea {
  margin: 5px 0;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: red;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #field #blank #red #border
ADD COMMENT
Topic
Name
1+6 =