Permalink
Browse files

Styles for HTML5 input types

  • Loading branch information...
1 parent dcaf3ad commit 5b41706ecbc669c3f70f8c603d51507d4c64f72b @gsterndale gsterndale committed with croaky Sep 14, 2010
Showing with 14 additions and 1 deletion.
  1. +14 −1 public/stylesheets/forms.css
View
15 public/stylesheets/forms.css
@@ -57,7 +57,20 @@ fieldset.buttons li { display: inline; }
}
/* Text fields */
-input[type="text"], input[type="password"] {
+input[type="text"],
+input[type="password"]
+input[type="email"],
+input[type="number"],
+input[type="range"],
+input[type="search"],
+input[type="color"],
+input[type="url"],
+input[type="date"],
+input[type="month"],
+input[type="week"],
+input[type="time"],
+input[type="datetime"],
+input[type="datetime-local"] {
width: 300px;
padding: 3px 2px;
font-size: inherit;

0 comments on commit 5b41706

Please sign in to comment.