Introduction
CSS Classes
React Components
Cssville has 25 utility classes for display. Add one to an element's class attribute to set the property, for example dis-flex. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-dis-flex. Add -hover to the end to apply a class only on hover, as in dis-flex-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| dis-* | display |
| Class name suffix | CSS properties value |
|---|---|
| *-block-flow | block flow |
| *-inline-flow | inline flow |
| *-inline-flow-root | inline flow-root |
| *-block-flex | block flex |
| *-inline-flex | inline-flex |
| *-block-grid | block grid |
| *-inline-grid | inline-grid |
| *-block-flow-root | block flow-root |
| *-block | block |
| *-inline | inline |
| *-inline-block | inline-block |
| *-flex | flex |
| *-inherit | inherit |
| *-grid | grid |
| *-flow-root | flow-root |
| *-none | none |
| *-contents | contents |
| *-table | table |
| *-table-row | table-row |
| *-table-column | table-column |
.dis-block-flow {
display: block flow;
}