Display Atomics

Display atomics are used to set the display behavior of an element.

cssproperty value screensize
display block, flex, inline, inline-block, inline-flex, grid, none tablet, desktop, widescreen

Usage

Here is an example of display atomics being used.

Foo
Foo
HTML
<div class="display-block border">
    <div>Foo</div>
    <div>Foo</div>
</div>

Responsive rules

Here are a few examples of display atomics being used for different screensizes.

Bar
Bar
HTML
<div class="display-flex-tablet border">
    <div>Bar</div>
    <div>Bar</div>
</div>
Baz
Baz
HTML
<div class="border">
    <div class="display-inline-desktop">Baz</div>
    <div class="display-inline-desktop">Baz</div>
</div>
Foo
Foo
HTML
<div class="display-inline-flex-widescreen border">
    <div>Foo</div>
    <div>Foo</div>
</div>

Available classes

List of all available classes:

Atomics
display-block
display-flex
display-inline
display-inline-block
display-inline-flex
display-grid
display-none
display-block-tablet
display-flex-tablet
display-inline-tablet
display-inline-block-tablet
display-inline-flex-tablet
display-grid-tablet
display-none-tablet
display-block-desktop
display-flex-desktop
display-inline-desktop
display-inline-block-desktop
display-inline-flex-desktop
display-grid-desktop
display-none-desktop
display-block-widescreen
display-flex-widescreen
display-inline-widescreen
display-inline-block-widescreen
display-inline-flex-widescreen
display-grid-widescreen
display-none-widescreen

Flying flyout