summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/input/style.css
blob: 81c09c3e20074531e0059f9028ac4a88413e199a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Override default style */
input:invalid {
  box-shadow: none;
}

input.notvalid {
  background-color: green;
}
input.notvalid:valid {
  background-color: red;
}

input.valid {
  background-color: red;
}
input.valid:valid {
  background-color: green;
}