Skip to content

Instantly share code, notes, and snippets.

@bensmithett
Created February 6, 2012 23:03
Show Gist options
  • Save bensmithett/1755721 to your computer and use it in GitHub Desktop.
Save bensmithett/1755721 to your computer and use it in GitHub Desktop.
form layout
<div class="inputgroup">
<label for="someinput">Blah</label>
<div class="inputs">
<input type="text" name="someinput" id="someinput" />
<!-- more inputs + paragraphs, smalls, whatever! -->
</div>
</div>
@bensmithett
Copy link
Author

One .inputgroup per input. Unless you want to associate a single label with multiple inputs (eg for radio buttons), then I put those all inside the one .input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment