diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/components/forms.md | 2 | ||||
| -rw-r--r-- | docs/4.0/utilities/display.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md index 8bf61de35..411b1f461 100644 --- a/docs/4.0/components/forms.md +++ b/docs/4.0/components/forms.md @@ -25,7 +25,7 @@ Here's a quick example to demonstrate Bootstrap's form styles. Keep reading for <label for="exampleInputPassword1">Password</label> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> </div> - <div class="form-check"> + <div class="form-group form-check"> <input type="checkbox" class="form-check-input" id="exampleCheck1"> <label class="form-check-label" for="exampleCheck1">Check me out</label> </div> diff --git a/docs/4.0/utilities/display.md b/docs/4.0/utilities/display.md index d7cab2175..e00d5b635 100644 --- a/docs/4.0/utilities/display.md +++ b/docs/4.0/utilities/display.md @@ -51,7 +51,7 @@ For faster mobile-friendly development, use responsive display classes for showi To hide elements simply use the `.d-none` class or one of the `.d-{sm,md,lg,xl}-none` classes for any responsive screen variation. -To show an element only on a given interval of screen sizes you can combine one `.d-*-none` class with a `.d-*-*` class, for example `.d-none .d-md-block .d-xl-none` will hide the element for all screen sizes except on medium and large devices. +To show an element only on a given interval of screen sizes you can combine one `.d-*-none` class with a `.d-*-*` class, for example `.d-none .d-md-block .d-xl-block` will hide the element for all screen sizes except on medium and large devices. | Screen Size | Class | | --- | --- | |
