Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 /* Override default style */
2 button:invalid {
3 box-shadow: none;
4 }
5
6 button.notvalid {
7 background-color: green;
8 }
9 button.notvalid:valid {
10 background-color: red;
11 }
12
13 button.valid {
14 background-color: red;
15 }
16 button.valid:valid {
17 background-color: green;
18 }