-
-
Save wilsonge/9484740 to your computer and use it in GitHub Desktop.
Different form controls for CSS Frameworks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Bootstrap 2 --> | |
<form class="form-horizontal"> | |
<div class="control-group"> | |
<label class="control-label" for="inputEmail">Email</label> | |
<div class="controls"> | |
<input type="text" id="inputEmail" placeholder="Email"> | |
</div> | |
</div> | |
</form> | |
<!-- Bootstrap 3 --> | |
<form role="form"> | |
<div class="form-group"> | |
<label for="exampleInputEmail1">Email address</label> | |
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email"> | |
</div> | |
</form> | |
<!-- Foundation --> | |
<form> | |
<div class="row"> | |
<!-- Number represents how much of the 12 coloumns to span --> | |
<div class="large-12 columns"> | |
<label>Input Label | |
<input type="text" placeholder="Enter email" /> | |
</label> | |
</div> | |
</div> | |
</form> | |
<!-- UIKit --> | |
<form class="uk-form uk-form-stacked"> | |
<div class="uk-form-row"> | |
<label class="uk-form-label" for="">Input Label</label> | |
<div class="uk-form-controls"><input type="text" placeholder="Enter email"></div> | |
</div> | |
</form> |
rgmears
commented
Mar 11, 2014
Email
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment