Skip to content

Commit

Permalink
Docs: fix example hiding element except on medium and large devices i…
Browse files Browse the repository at this point in the history
…n 'Utilities > Display > Hiding elements'
  • Loading branch information
julien-deramond committed Oct 16, 2024
1 parent 88bb06b commit 6e3e644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/utilities/display.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 6e3e644

Please sign in to comment.