Skip to content

Commit

Permalink
Merge pull request #16632 from kkirsche/patch-15
Browse files Browse the repository at this point in the history
Clarify that <fieldset> only uses the disabled attribute
  • Loading branch information
mdo committed Jun 18, 2015
2 parents 5ea03fa + 315db4a commit 0f6fab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_includes/css/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ <h3>Textarea</h3>

<h3>Checkboxes and radios</h3>
<p>Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many.</p>
<p>A checkbox or radio with the <code>disabled</code> attribute will be styled appropriately. To have the <code>&lt;label&gt;</code> for the checkbox or radio also display a "not-allowed" cursor when the user hovers over the label, add the <code>.disabled</code> class to your <code>.radio</code>, <code>.radio-inline</code>, <code>.checkbox</code>, <code>.checkbox-inline</code>, or <code>&lt;fieldset&gt;</code>.</p>
<p>Disabled checkboxes and radios are supported, but to provide a "not-allowed" cursor on hover, you'll need to add the <code>.disabled</code> class to the parent <code>.radio</code>, <code>.radio-inline</code>, <code>.checkbox</code>, or <code>.checkbox-inline</code>.</p>
<h4>Default (stacked)</h4>
<div class="bs-example" data-example-id="block-checkboxes-radios">
<form>
Expand Down

0 comments on commit 0f6fab0

Please sign in to comment.