Skip to content

Commit

Permalink
Clarify that <fieldset> only uses the disabled attribute
Browse files Browse the repository at this point in the history
Fix #16632
  • Loading branch information
kkirsche committed Jun 15, 2015
1 parent 3487898 commit 315db4a
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 315db4a

Please sign in to comment.