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