Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added default background colors for input:valid and input:invalid

  • Loading branch information...
commit 34c0003bae9fd8af82a88a35031458606a854206 1 parent 7c63a52
James A. Rosen authored paulirish committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  css/style.css
View
3  css/style.css
@@ -144,6 +144,9 @@ input[type="checkbox"] { vertical-align: bottom; }
/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
+/* colors for form validity */
+input:invalid { background-color: #f0dddd; }
+input:valid { background-color: #ddf0dd; }
/* These selection declarations have to be separate.
No text-shadow: twitter.com/miketaylr/status/12228805301
Please sign in to comment.
Something went wrong with that request. Please try again.