Skip to content

Commit

Permalink
Consolidate styles for form field/textarea padding. Props @emiluzelac
Browse files Browse the repository at this point in the history
Consolidate styles for form field/textarea padding. Props @emiluzelac
  • Loading branch information
sixhours committed May 26, 2016
2 parents cd2b6b3 + 6844caf commit dc262c6
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
padding: 3px;
}

select {
Expand All @@ -495,26 +496,7 @@ textarea:focus {
color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
padding: 3px;
}

textarea {
padding-left: 3px;
width: 100%;
}

Expand Down

0 comments on commit dc262c6

Please sign in to comment.