Monsoon v0.2.0
Made by Alexandre Kohler Star

Utilities

Alignment

Justify, align and place utilities for flex and grid items and content.

55classes
198variant classes
9properties
Open in the class reference

Live example

Full
Theme every example Component corners Remembered in this browser.

Variant support

Variants are generated where they are useful, which keeps the whole stylesheet small enough to link from a CDN. Prefix a class with one of these to apply it in that state or above that width, for example md:items-start. Stacked variants such as dark:hover: are not part of the prebuilt file; arbitrary values take any variant, stacked, with the optional script or the purge CLI.

KindPrefixesClasses in this category
Statenot generated0
Group and peernot generated0
Structurenot generated0
Motionnot generated0
Schemenot generated0
Breakpointssm:md:lg:xl:2xl:19
Containers@xs:@sm:@md:@lg:@xl:13
Media and directionprint:screen:19

Align items 5

Variants: sm:md:lg:xl:2xl:@xs:@sm:@md:@lg:@xl:print:screen:

ClassCSS
items-startalign-items: flex-start;
items-endalign-items: flex-end;
items-centeralign-items: center;
items-baselinealign-items: baseline;
items-stretchalign-items: stretch;

Justify content 8

Variants: sm:md:lg:xl:2xl:@xs:@sm:@md:@lg:@xl:print:screen:

ClassCSS
justify-normaljustify-content: normal;
justify-startjustify-content: flex-start;
justify-endjustify-content: flex-end;
justify-centerjustify-content: center;
justify-betweenjustify-content: space-between;
justify-aroundjustify-content: space-around;
justify-evenlyjustify-content: space-evenly;
justify-stretchjustify-content: stretch;

Justify items 4

Variants: none

ClassCSS
justify-items-startjustify-items: start;
justify-items-endjustify-items: end;
justify-items-centerjustify-items: center;
justify-items-stretchjustify-items: stretch;

Justify self 5

Variants: none

ClassCSS
justify-self-autojustify-self: auto;
justify-self-startjustify-self: start;
justify-self-endjustify-self: end;
justify-self-centerjustify-self: center;
justify-self-stretchjustify-self: stretch;

Align content 9

Variants: none

ClassCSS
content-normalalign-content: normal;
content-centeralign-content: center;
content-startalign-content: flex-start;
content-endalign-content: flex-end;
content-betweenalign-content: space-between;
content-aroundalign-content: space-around;
content-evenlyalign-content: space-evenly;
content-baselinealign-content: baseline;
content-stretchalign-content: stretch;

Align self 6

Variants: sm:md:lg:xl:2xl:print:screen:

ClassCSS
self-autoalign-self: auto;
self-startalign-self: flex-start;
self-endalign-self: flex-end;
self-centeralign-self: center;
self-stretchalign-self: stretch;
self-baselinealign-self: baseline;

Place content 8

Variants: none

ClassCSS
place-content-centerplace-content: center;
place-content-startplace-content: start;
place-content-endplace-content: end;
place-content-betweenplace-content: space-between;
place-content-aroundplace-content: space-around;
place-content-evenlyplace-content: space-evenly;
place-content-baselineplace-content: baseline;
place-content-stretchplace-content: stretch;

Place items 5

Variants: none

ClassCSS
place-items-startplace-items: start;
place-items-endplace-items: end;
place-items-centerplace-items: center;
place-items-baselineplace-items: baseline;
place-items-stretchplace-items: stretch;

Place self 5

Variants: none

ClassCSS
place-self-autoplace-self: auto;
place-self-startplace-self: start;
place-self-endplace-self: end;
place-self-centerplace-self: center;
place-self-stretchplace-self: stretch;

Search the whole site

Try , , , , . Small typos are fine.

Recent

Loading the search index

No results for "" in

Did you mean ?

Search a component, a page or a class name such as px-4.