Monsoon v0.2.0
Made by Alexandre Kohler Star

Utilities

Layout

Display, position, inset, z-index, overflow, floats, object fit, aspect ratio, columns and container setup.

388classes
434variant classes
31properties
Open in the class reference

Live example

Full

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:block. 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 peergroup-hover:peer-checked:16
Structurenot generated0
Motionnot generated0
Schemenot generated0
Breakpointssm:md:lg:xl:2xl:19
Containers@xs:@sm:@md:@lg:@xl:7
Media and directionprint:screen:rtl:ltr:forced-colors:112

Width 1

Variants: none

ClassCSS
containerwidth: 100%; margin-inline: auto; padding-inline: 1rem;

Container 2

Variants: none

ClassCSS
container-qcontainer-type: inline-size;
@containercontainer-type: inline-size;

Display 14

Variants: listed per class

ClassCSSVariants
blockdisplay: block;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors
inline-blockdisplay: inline-block;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors
inlinedisplay: inline;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors
flexdisplay: flex;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors
inline-flexdisplay: inline-flex;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors
griddisplay: grid;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors
inline-griddisplay: inline-grid;group-hover peer-checked sm md lg xl 2xl print screen
contentsdisplay: contents;group-hover peer-checked sm md lg xl 2xl print screen forced-colors
flow-rootdisplay: flow-root;group-hover peer-checked sm md lg xl 2xl print screen
tabledisplay: table;group-hover peer-checked sm md lg xl 2xl print screen
table-rowdisplay: table-row;group-hover peer-checked sm md lg xl 2xl print screen
table-celldisplay: table-cell;group-hover peer-checked sm md lg xl 2xl print screen
list-itemdisplay: list-item;group-hover peer-checked sm md lg xl 2xl print screen
hiddendisplay: none;group-hover peer-checked sm md lg xl 2xl @xs @sm @md @lg @xl print screen forced-colors

Position 5

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

ClassCSS
staticposition: static;
fixedposition: fixed;
absoluteposition: absolute;
relativeposition: relative;
stickyposition: sticky;

Inset 36

Variants: none

ClassCSS
inset-0inset: 0;
inset-1inset: 0.25rem;
inset-2inset: 0.5rem;
inset-3inset: 0.75rem;
inset-4inset: 1rem;
inset-5inset: 1.25rem;
inset-6inset: 1.5rem;
inset-8inset: 2rem;
inset-10inset: 2.5rem;
inset-12inset: 3rem;
inset-16inset: 4rem;
inset-20inset: 5rem;
inset-24inset: 6rem;
inset-pxinset: 1px;
inset-0.5inset: 0.125rem;
inset-1.5inset: 0.375rem;
inset-2.5inset: 0.625rem;
inset-autoinset: auto;
inset-fullinset: 100%;
inset-1/2inset: 50%;
inset-1/3inset: 33.333333%;
inset-2/3inset: 66.666667%;
inset-1/4inset: 25%;
inset-3/4inset: 75%;
-inset-1inset: -0.25rem;
-inset-2inset: -0.5rem;
-inset-3inset: -0.75rem;
-inset-4inset: -1rem;
-inset-6inset: -1.5rem;
-inset-8inset: -2rem;
-inset-12inset: -3rem;
-inset-16inset: -4rem;
-inset-pxinset: -1px;
-inset-0.5inset: -0.125rem;
-inset-fullinset: -100%;
-inset-1/2inset: -50%;

Left 72

Variants: rtl:ltr:

ClassCSS
inset-x-0left: 0; right: 0;
inset-x-1left: 0.25rem; right: 0.25rem;
inset-x-2left: 0.5rem; right: 0.5rem;
inset-x-3left: 0.75rem; right: 0.75rem;
inset-x-4left: 1rem; right: 1rem;
inset-x-5left: 1.25rem; right: 1.25rem;
inset-x-6left: 1.5rem; right: 1.5rem;
inset-x-8left: 2rem; right: 2rem;
inset-x-10left: 2.5rem; right: 2.5rem;
inset-x-12left: 3rem; right: 3rem;
inset-x-16left: 4rem; right: 4rem;
inset-x-20left: 5rem; right: 5rem;
inset-x-24left: 6rem; right: 6rem;
inset-x-pxleft: 1px; right: 1px;
inset-x-0.5left: 0.125rem; right: 0.125rem;
inset-x-1.5left: 0.375rem; right: 0.375rem;
inset-x-2.5left: 0.625rem; right: 0.625rem;
inset-x-autoleft: auto; right: auto;
inset-x-fullleft: 100%; right: 100%;
inset-x-1/2left: 50%; right: 50%;
inset-x-1/3left: 33.333333%; right: 33.333333%;
inset-x-2/3left: 66.666667%; right: 66.666667%;
inset-x-1/4left: 25%; right: 25%;
inset-x-3/4left: 75%; right: 75%;
-inset-x-1left: -0.25rem; right: -0.25rem;
-inset-x-2left: -0.5rem; right: -0.5rem;
-inset-x-3left: -0.75rem; right: -0.75rem;
-inset-x-4left: -1rem; right: -1rem;
-inset-x-6left: -1.5rem; right: -1.5rem;
-inset-x-8left: -2rem; right: -2rem;
-inset-x-12left: -3rem; right: -3rem;
-inset-x-16left: -4rem; right: -4rem;
-inset-x-pxleft: -1px; right: -1px;
-inset-x-0.5left: -0.125rem; right: -0.125rem;
-inset-x-fullleft: -100%; right: -100%;
-inset-x-1/2left: -50%; right: -50%;
left-0left: 0;
left-1left: 0.25rem;
left-2left: 0.5rem;
left-3left: 0.75rem;
left-4left: 1rem;
left-5left: 1.25rem;
left-6left: 1.5rem;
left-8left: 2rem;
left-10left: 2.5rem;
left-12left: 3rem;
left-16left: 4rem;
left-20left: 5rem;
left-24left: 6rem;
left-pxleft: 1px;
left-0.5left: 0.125rem;
left-1.5left: 0.375rem;
left-2.5left: 0.625rem;
left-autoleft: auto;
left-fullleft: 100%;
left-1/2left: 50%;
left-1/3left: 33.333333%;
left-2/3left: 66.666667%;
left-1/4left: 25%;
left-3/4left: 75%;
-left-1left: -0.25rem;
-left-2left: -0.5rem;
-left-3left: -0.75rem;
-left-4left: -1rem;
-left-6left: -1.5rem;
-left-8left: -2rem;
-left-12left: -3rem;
-left-16left: -4rem;
-left-pxleft: -1px;
-left-0.5left: -0.125rem;
-left-fullleft: -100%;
-left-1/2left: -50%;

Top 72

Variants: none

ClassCSS
inset-y-0top: 0; bottom: 0;
inset-y-1top: 0.25rem; bottom: 0.25rem;
inset-y-2top: 0.5rem; bottom: 0.5rem;
inset-y-3top: 0.75rem; bottom: 0.75rem;
inset-y-4top: 1rem; bottom: 1rem;
inset-y-5top: 1.25rem; bottom: 1.25rem;
inset-y-6top: 1.5rem; bottom: 1.5rem;
inset-y-8top: 2rem; bottom: 2rem;
inset-y-10top: 2.5rem; bottom: 2.5rem;
inset-y-12top: 3rem; bottom: 3rem;
inset-y-16top: 4rem; bottom: 4rem;
inset-y-20top: 5rem; bottom: 5rem;
inset-y-24top: 6rem; bottom: 6rem;
inset-y-pxtop: 1px; bottom: 1px;
inset-y-0.5top: 0.125rem; bottom: 0.125rem;
inset-y-1.5top: 0.375rem; bottom: 0.375rem;
inset-y-2.5top: 0.625rem; bottom: 0.625rem;
inset-y-autotop: auto; bottom: auto;
inset-y-fulltop: 100%; bottom: 100%;
inset-y-1/2top: 50%; bottom: 50%;
inset-y-1/3top: 33.333333%; bottom: 33.333333%;
inset-y-2/3top: 66.666667%; bottom: 66.666667%;
inset-y-1/4top: 25%; bottom: 25%;
inset-y-3/4top: 75%; bottom: 75%;
-inset-y-1top: -0.25rem; bottom: -0.25rem;
-inset-y-2top: -0.5rem; bottom: -0.5rem;
-inset-y-3top: -0.75rem; bottom: -0.75rem;
-inset-y-4top: -1rem; bottom: -1rem;
-inset-y-6top: -1.5rem; bottom: -1.5rem;
-inset-y-8top: -2rem; bottom: -2rem;
-inset-y-12top: -3rem; bottom: -3rem;
-inset-y-16top: -4rem; bottom: -4rem;
-inset-y-pxtop: -1px; bottom: -1px;
-inset-y-0.5top: -0.125rem; bottom: -0.125rem;
-inset-y-fulltop: -100%; bottom: -100%;
-inset-y-1/2top: -50%; bottom: -50%;
top-0top: 0;
top-1top: 0.25rem;
top-2top: 0.5rem;
top-3top: 0.75rem;
top-4top: 1rem;
top-5top: 1.25rem;
top-6top: 1.5rem;
top-8top: 2rem;
top-10top: 2.5rem;
top-12top: 3rem;
top-16top: 4rem;
top-20top: 5rem;
top-24top: 6rem;
top-pxtop: 1px;
top-0.5top: 0.125rem;
top-1.5top: 0.375rem;
top-2.5top: 0.625rem;
top-autotop: auto;
top-fulltop: 100%;
top-1/2top: 50%;
top-1/3top: 33.333333%;
top-2/3top: 66.666667%;
top-1/4top: 25%;
top-3/4top: 75%;
-top-1top: -0.25rem;
-top-2top: -0.5rem;
-top-3top: -0.75rem;
-top-4top: -1rem;
-top-6top: -1.5rem;
-top-8top: -2rem;
-top-12top: -3rem;
-top-16top: -4rem;
-top-pxtop: -1px;
-top-0.5top: -0.125rem;
-top-fulltop: -100%;
-top-1/2top: -50%;

Variants: rtl:ltr:

ClassCSS
right-0right: 0;
right-1right: 0.25rem;
right-2right: 0.5rem;
right-3right: 0.75rem;
right-4right: 1rem;
right-5right: 1.25rem;
right-6right: 1.5rem;
right-8right: 2rem;
right-10right: 2.5rem;
right-12right: 3rem;
right-16right: 4rem;
right-20right: 5rem;
right-24right: 6rem;
right-pxright: 1px;
right-0.5right: 0.125rem;
right-1.5right: 0.375rem;
right-2.5right: 0.625rem;
right-autoright: auto;
right-fullright: 100%;
right-1/2right: 50%;
right-1/3right: 33.333333%;
right-2/3right: 66.666667%;
right-1/4right: 25%;
right-3/4right: 75%;
-right-1right: -0.25rem;
-right-2right: -0.5rem;
-right-3right: -0.75rem;
-right-4right: -1rem;
-right-6right: -1.5rem;
-right-8right: -2rem;
-right-12right: -3rem;
-right-16right: -4rem;
-right-pxright: -1px;
-right-0.5right: -0.125rem;
-right-fullright: -100%;
-right-1/2right: -50%;

Bottom 36

Variants: none

ClassCSS
bottom-0bottom: 0;
bottom-1bottom: 0.25rem;
bottom-2bottom: 0.5rem;
bottom-3bottom: 0.75rem;
bottom-4bottom: 1rem;
bottom-5bottom: 1.25rem;
bottom-6bottom: 1.5rem;
bottom-8bottom: 2rem;
bottom-10bottom: 2.5rem;
bottom-12bottom: 3rem;
bottom-16bottom: 4rem;
bottom-20bottom: 5rem;
bottom-24bottom: 6rem;
bottom-pxbottom: 1px;
bottom-0.5bottom: 0.125rem;
bottom-1.5bottom: 0.375rem;
bottom-2.5bottom: 0.625rem;
bottom-autobottom: auto;
bottom-fullbottom: 100%;
bottom-1/2bottom: 50%;
bottom-1/3bottom: 33.333333%;
bottom-2/3bottom: 66.666667%;
bottom-1/4bottom: 25%;
bottom-3/4bottom: 75%;
-bottom-1bottom: -0.25rem;
-bottom-2bottom: -0.5rem;
-bottom-3bottom: -0.75rem;
-bottom-4bottom: -1rem;
-bottom-6bottom: -1.5rem;
-bottom-8bottom: -2rem;
-bottom-12bottom: -3rem;
-bottom-16bottom: -4rem;
-bottom-pxbottom: -1px;
-bottom-0.5bottom: -0.125rem;
-bottom-fullbottom: -100%;
-bottom-1/2bottom: -50%;

Z index 8

Variants: none

ClassCSS
z-0z-index: 0;
z-10z-index: 10;
z-20z-index: 20;
z-30z-index: 30;
z-40z-index: 40;
z-50z-index: 50;
z-autoz-index: auto;
-z-10z-index: -10;

Overflow 5

Variants: none

ClassCSS
overflow-autooverflow: auto;
overflow-hiddenoverflow: hidden;
overflow-clipoverflow: clip;
overflow-visibleoverflow: visible;
overflow-scrolloverflow: scroll;

Overflow x 5

Variants: none

ClassCSS
overflow-x-autooverflow-x: auto;
overflow-x-hiddenoverflow-x: hidden;
overflow-x-clipoverflow-x: clip;
overflow-x-visibleoverflow-x: visible;
overflow-x-scrolloverflow-x: scroll;

Overflow y 5

Variants: none

ClassCSS
overflow-y-autooverflow-y: auto;
overflow-y-hiddenoverflow-y: hidden;
overflow-y-clipoverflow-y: clip;
overflow-y-visibleoverflow-y: visible;
overflow-y-scrolloverflow-y: scroll;

Overscroll behavior 3

Variants: none

ClassCSS
overscroll-autooverscroll-behavior: auto;
overscroll-containoverscroll-behavior: contain;
overscroll-noneoverscroll-behavior: none;

Overscroll behavior x 3

Variants: none

ClassCSS
overscroll-x-autooverscroll-behavior-x: auto;
overscroll-x-containoverscroll-behavior-x: contain;
overscroll-x-noneoverscroll-behavior-x: none;

Overscroll behavior y 3

Variants: none

ClassCSS
overscroll-y-autooverscroll-behavior-y: auto;
overscroll-y-containoverscroll-behavior-y: contain;
overscroll-y-noneoverscroll-behavior-y: none;

Visibility 3

Variants: listed per class

ClassCSSVariants
visiblevisibility: visible;group-hover peer-checked forced-colors
invisiblevisibility: hidden;group-hover peer-checked forced-colors
collapsevisibility: collapse;

Box sizing 2

Variants: none

ClassCSS
box-borderbox-sizing: border-box;
box-contentbox-sizing: content-box;

Float 5

Variants: listed per class

ClassCSSVariants
float-leftfloat: left;rtl ltr
float-rightfloat: right;rtl ltr
float-nonefloat: none;
float-startfloat: inline-start;
float-endfloat: inline-end;

Clear 4

Variants: listed per class

ClassCSSVariants
clear-leftclear: left;rtl ltr
clear-rightclear: right;rtl ltr
clear-bothclear: both;
clear-noneclear: none;

Isolation 2

Variants: none

ClassCSS
isolateisolation: isolate;
isolation-autoisolation: auto;

Object fit 5

Variants: none

ClassCSS
object-containobject-fit: contain;
object-coverobject-fit: cover;
object-fillobject-fit: fill;
object-noneobject-fit: none;
object-scale-downobject-fit: scale-down;

Object position 9

Variants: none

ClassCSS
object-bottomobject-position: bottom;
object-centerobject-position: center;
object-leftobject-position: left;
object-left-bottomobject-position: left bottom;
object-left-topobject-position: left top;
object-rightobject-position: right;
object-right-bottomobject-position: right bottom;
object-right-topobject-position: right top;
object-topobject-position: top;

Aspect ratio 10

Variants: none

ClassCSS
aspect-autoaspect-ratio: auto;
aspect-squareaspect-ratio: 1 / 1;
aspect-videoaspect-ratio: 16 / 9;
aspect-4/3aspect-ratio: 4 / 3;
aspect-3/2aspect-ratio: 3 / 2;
aspect-16/9aspect-ratio: 16 / 9;
aspect-21/9aspect-ratio: 21 / 9;
aspect-3/4aspect-ratio: 3 / 4;
aspect-2/3aspect-ratio: 2 / 3;
aspect-9/16aspect-ratio: 9 / 16;

Columns 22

Variants: none

ClassCSS
columns-1columns: 1;
columns-2columns: 2;
columns-3columns: 3;
columns-4columns: 4;
columns-5columns: 5;
columns-6columns: 6;
columns-7columns: 7;
columns-8columns: 8;
columns-9columns: 9;
columns-10columns: 10;
columns-11columns: 11;
columns-12columns: 12;
columns-autocolumns: auto;
columns-3xscolumns: 16rem;
columns-2xscolumns: 18rem;
columns-xscolumns: 20rem;
columns-smcolumns: 24rem;
columns-mdcolumns: 28rem;
columns-lgcolumns: 32rem;
columns-xlcolumns: 36rem;
columns-2xlcolumns: 42rem;
columns-3xlcolumns: 48rem;

Break inside 4

Variants: none

ClassCSS
break-inside-autobreak-inside: auto;
break-inside-avoidbreak-inside: avoid;
break-inside-avoid-pagebreak-inside: avoid-page;
break-inside-avoid-columnbreak-inside: avoid-column;

Break before 5

Variants: none

ClassCSS
break-before-autobreak-before: auto;
break-before-avoidbreak-before: avoid;
break-before-allbreak-before: all;
break-before-pagebreak-before: page;
break-before-columnbreak-before: column;

Break after 5

Variants: none

ClassCSS
break-after-autobreak-after: auto;
break-after-avoidbreak-after: avoid;
break-after-allbreak-after: all;
break-after-pagebreak-after: page;
break-after-columnbreak-after: column;

Box decoration break 2

Variants: none

ClassCSS
box-decoration-clone-webkit-box-decoration-break: clone; box-decoration-break: clone;
box-decoration-slice-webkit-box-decoration-break: slice; box-decoration-break: slice;

Border collapse 2

Variants: none

ClassCSS
border-collapseborder-collapse: collapse;
border-separateborder-collapse: separate;

Table layout 2

Variants: none

ClassCSS
table-autotable-layout: auto;
table-fixedtable-layout: fixed;

No recent searches

Try , , or .

Recent

Loading the search index

No results for ""

Check the spelling, or search a class name such as px-4.