mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Docs: fix example hiding element except on medium and large devices in 'Utilities > Display > Hiding elements' (#40951)
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
Some checks are pending
BrowserStack / browserstack (push) Waiting to run
Bundlewatch / bundlewatch (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
cspell / cspell (push) Waiting to run
CSS / css (push) Waiting to run
Docs / docs (push) Waiting to run
JS Tests / JS Tests (push) Waiting to run
Lint / lint (push) Waiting to run
CSS (node-sass) / css (push) Waiting to run
Release notes / update_release_draft (push) Waiting to run
This commit is contained in:
parent
88bb06b8cc
commit
5796e152a4
@ -55,7 +55,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,xxl}-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 .d-xxl-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-none` will hide the element for all screen sizes except on medium and large devices.
|
||||
|
||||
{{< bs-table >}}
|
||||
| Screen size | Class |
|
||||
|
Loading…
x
Reference in New Issue
Block a user