Particles CSSParticles CSSv0.0.10GitHub

Display

Apply display properties of an element

Classes

ClassProperties
.inlinedisplay: inline;
.blockdisplay: block;
.inline-blockdisplay: inline-block;
.griddisplay: grid;
.inline-griddisplay: inline-grid;
.flexdisplay: flex;
.inline-flexdisplay: inline-flex;
.tabledisplay: table;
.table-rowdisplay: table-row;
.table-celldisplay: table-cell;
.table-captiondisplay: table-caption;
.table-columndisplay: table-column;
.table-column-groupdisplay: table-column-group;
.table-footer-groupdisplay: table-footer-group;
.table-header-groupdisplay: table-header-group;
.table-row-groupdisplay: table-row-group;
.display-nonedisplay: none;

.inline

Sets the display property to inline.

1
2
3
4

.block

Sets the display property to block.

1 2 3 4

.inline-block

Sets the display property to inline-block.

1
2
3
4

.flex

Sets the display property to flex.

1 2 3 4

.inline-flex

Sets the display property to inline-flex.

1
2
3
4

.grid

Sets the display property to grid.

1 2 3 4 5 6

.inline-grid

Sets the display property to inline-grid.

1
2
3
4
5 6

.display-none

Sets the display property to none.

1
4

Responsive

<div class="flex bp1:block bp2:inline-block bp3:grid bp4:flex ...">
  <!-- ... -->
</div>
1
2
3