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