Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Created January 14, 2014 00:02
Show Gist options
  • Select an option

  • Save DeanPoulin/8410465 to your computer and use it in GitHub Desktop.

Select an option

Save DeanPoulin/8410465 to your computer and use it in GitHub Desktop.
Disabled Fieldsets
<form role="form">
<fieldset disabled>
<div class="form-group">
<label for="disabledTextInput">Disabled input</label>
<input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input">
</div>
<div class="form-group">
<label for="disabledSelect">Disabled select menu</label>
<select id="disabledSelect" class="form-control">
<option>Disabled select</option>
</select>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Can't check this
</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment