Skip to content

Commit

Permalink
added form component
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Hoffmann committed Dec 16, 2012
1 parent 6038d3c commit 0106277
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions components/form.scss
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* Component: Form
*
* @author Maximilian Hoffmann http://maximilianhoffmann.com
*/

form {
@extend .clearfix;
}

label {
display: block;

@media (min-width: 768px) {
clear: both;
float: left;
line-height: 34px;
}
}

input,
textarea,
select {
width: 100%;
font-family: inherit;
}

input[type="submit"],
button {
width: 100%;
}

0 comments on commit 0106277

Please sign in to comment.