# Display Property Quickly and responsively toggle the display value of components and more with our display utilities.

How it works
Change the value of the display property with our responsive display utility classes. We purposely support only a subset of all possible values for display. Classes can be combined for various effects as you need.

## Displaying elements

Display utility classes that apply to all breakpoints, from `xs` to `xl`, have no breakpoint abbreviation in them. This is because those classes are applied from `min-width: 0;` and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation

As such, the classes are named using the format:

- `.d-{value}` for `xs`
- `.d-{breakpoint}-{value}` for `sm`, `md`, `lg`, and `xl`.

Where value is one of:

- `none`
- `inline`
- `inline-block`
- `block`
- `table`
- `table-cell`
- `table-row`
- `flex`
- `inline-flex`

The media queries effect screen widths with the given breakpoint or larger. For example, `.d-lg-none` sets `display: none;` on both `lg` and `xl` screens.

## Hiding elements (BS3 method)

This method for hidding elements is from Bootstrap version 3.0, it is a more quicker way of hiding responsive elements. However, the Bootstrap 4 method will give you greater control. Remember to use either of the method on a single element, otherwise it may not work

| Extra small devices Phones (<0px) | Small devices Tablets (≥576px) | Medium devices Desktops (≥768px) | Large devices Desktops (≥992px) | Extra Large devices Desktops (≥1200px)
--- | --- | --- | --- | --- | ---
`.hidden-xs-down` | hidden | visible | visible | visible | visible
`.hidden-sm-down` | hidden | hidden | visible | visible | visible
`.hidden-md-down` | hidden | hidden | hidden | visible | visible
`.hidden-lg-down` | hidden | hidden | hidden | hidden | visible
`.hidden-xl-down` | hidden | hidden | hidden | hidden | hidden
`.hidden-xs-up` | hidden | hidden | hidden | hidden | hidden
`.hidden-sm-up` | visible | hidden | hidden | hidden | hidden
`.hidden-md-up` | visible | visible | hidden | hidden | hidden
`.hidden-lg-up` | visible | visible | visible | hidden | hidden
`.hidden-xl-up` | visible | visible | visible | visible | hidden

## Display Print

Change the `display` value of elements when printing with our print display utility classes. Includes support for the same `display` values as our responsive `.d-*` utilities.

- `.d-print-none`
- `.d-print-inline`
- `.d-print-inline-block`
- `.d-print-block`
- `.d-print-table`
- `.d-print-table-row`
- `.d-print-table-cell`
- `.d-print-flex`
- `.d-print-inline-flex`

The print and display classes can be combined.

## Hiding elements (BS4 method)

For faster mobile-friendly development, use responsive display classes for showing and hiding elements by device. Avoid creating entirely different versions of the same site, instead hide elements responsively for each screen size.

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.

Screen Size | Class
--- | ---
Hidden on all | `.d-none`
Hidden only on xs | `.d-none .d-sm-block`
Hidden only on sm | `.d-sm-none .d-md-block`
Hidden only on md | `.d-md-none .d-lg-block`
Hidden only on lg | `.d-lg-none .d-xl-block`
Hidden only on xl | `.d-xl-none`
Visible on all | `.d-block`
Visible only on xs | `.d-block .d-sm-none`
Visible only on sm | `.d-none .d-sm-block .d-md-none`
Visible only on md | `.d-none .d-md-block .d-lg-none`
Visible only on lg | `.d-none .d-lg-block .d-xl-none`
Visible only on xl | `.d-none .d-xl-block`

- Home
- Inbox
- Add More

Tracey Chang
IT Director

- Tracey Chang Online
- Oliver Kopyuv Online
- Dr. John Cook PhD Away
- Ali Amdaney Online
- Sarah McBrook Online
- oliver.kopyuv@gotbootstrap.com Offline
- oliver.kopyuv@gotbootstrap.com Busy
- oliver.kopyuv@gotbootstrap.com Offline
- +714651347790 Missed Call

Jun 19

Hey Tracey, did you get my files?

3:00 pm

Hi

Sorry going through a busy time in office. Yes I analyzed the solution.

It will require some resource, which I could not manage.

3:24 pm

Okay

Sending you some dough today, you can allocate the resources to this project.

3:26 pm

Perfect. Thanks a lot!

I will have them ready by tonight.

Cheers

Jun 20
Send

#### Layout Settings User Interface Settings

##### App Layout

Fixed Header header is in a fixed at all times
Fixed Navigation left panel is fixed
Minify Navigation Skew nav to maximize space
Hide Navigation roll mouse on edge to reveal
Top Navigation Relocate left pane to top
Fixed Footer page footer is fixed
Boxed Layout Encapsulates to a container

Fixed Background

##### Mobile Menu

Push Content Content pushed on menu reveal
No Overlay Removes mesh on menu reveal
Off-Canvas (beta) Content overlaps menu

##### Accessibility

Bigger Content Font content fonts are bigger for readability
High Contrast Text (WCAG 2 AA) 4.5:1 text contrast ratio
Daltonism (beta) color vision deficiency
Preloader Inside preloader will be inside content
SmartPanel Icons (not Panels) smartpanel buttons will appear as icons

##### Global Modifications

Clean Page Background adds more whitespace
Hide Navigation Icons invisible navigation icons
Disable CSS Animation Disables CSS based animations
Hide Info Card Hides info card from left panel
Lean Subheader distinguished page header
Hierarchical Navigation Clear breakdown of nav links
Dark Navigation Navigation background is darkend

##### Global Font Size

SM MD LG XL
Change root font size to effect rem values (resets on page refresh)

##### Theme colors more info

##### Theme Modes (beta) why beta?

###### Internet Explorer Issue

This particular component may not work as expected in Internet Explorer. Please use with caution.
Default
Light
Dark

Reset Settings
Factory Reset