]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Clarify docs for custom form structure
authorMark Otto <markdotto@gmail.com>
Mon, 17 Sep 2018 19:07:31 +0000 (12:07 -0700)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 18 Sep 2018 10:03:44 +0000 (13:03 +0300)
Fixes #25440

site/docs/4.1/components/forms.md

index 9e8743872ec6f1159c009e943621c6e90a8ef657..6369168d845c95387c25f74be9ad000e01954cb8 100644 (file)
@@ -1105,7 +1105,7 @@ For even more customization and cross browser consistency, use our completely cu
 
 ### Checkboxes and radios
 
-Each checkbox and radio is wrapped in a `<div>` with a sibling `<span>` to create our custom control and a `<label>` for the accompanying text. Structurally, this is the same approach as our default `.form-check`.
+Each checkbox and radio `<input>` and `<label>` pairing is wrapped in a `<div>` to create our custom control. Structurally, this is the same approach as our default `.form-check`.
 
 We use the sibling selector (`~`) for all our `<input>` states—like `:checked`—to properly style our custom form indicator. When combined with the `.custom-control-label` class, we can also style the text for each item based on the `<input>`'s state.