Introduction
CSS Classes
React Components
Cssville has 16 utility classes for justify-content. Add one to an element's class attribute to set the property, for example jus-con-center. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-jus-con-center. Add -hover to the end to apply a class only on hover, as in jus-con-center-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| jus-con-* | -o-justify-content, -webkit-justify-content, justify-content |
| Class name suffix | CSS properties value |
|---|---|
| *-safe-center | safe center |
| *-unsafe-center | unsafe center |
| *-center | center |
| *-start | start |
| *-flex-start | flex-start |
| *-end | end |
| *-flex-end | flex-end |
| *-normal | normal |
| *-space-between | space-between |
| *-space-around | space-around |
| *-space-evenly | space-evenly |
| *-stretch | stretch |
| *-inherit | inherit |
| *-initial | initial |
| *-revert | revert |
| *-unset | unset |
.jus-con-safe-center {
-o-justify-content: safe center;
-webkit-justify-content: safe center;
justify-content: safe center;
}