css on field blank red border

Solutions on MaxInterview for css on field blank red border by the best coders in the world

showing results for - "css on field blank red border"
Tariq
15 Mar 2017
1input,
2textarea {
3  margin: 5px 0;
4  padding: 5px 10px;
5  border: 1px solid #ccc;
6  border-radius: 5px;
7}
8
9input:invalid,
10select:invalid,
11textarea:invalid {
12  border-color: red;
13}
similar questions
queries leading to this page
css on field blank red border