Monsoon v0.2.0
Made by Alexandre Kohler Star

Utilities

Fluid type and spacing

Text sizes, padding, margin and gaps that scale smoothly with the viewport through clamp(), so one class covers phones and wide screens without breakpoints.

44classes
14variant classes
6properties
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 rtl:px-fluid-xs. 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
Breakpointsnot generated0
Containersnot generated0
Media and directionrtl:ltr:7

Font size 9

Variants: none

ClassCSS
text-fluid-smfont-size: clamp(0.8125rem, 0.788rem + 0.1087vw, 0.875rem); line-height: 1.5;
text-fluid-basefont-size: clamp(0.9375rem, 0.913rem + 0.1087vw, 1rem); line-height: 1.6;
text-fluid-lgfont-size: clamp(1rem, 0.9511rem + 0.2174vw, 1.125rem); line-height: 1.55;
text-fluid-xlfont-size: clamp(1.125rem, 1.0761rem + 0.2174vw, 1.25rem); line-height: 1.45;
text-fluid-2xlfont-size: clamp(1.25rem, 1.1522rem + 0.4348vw, 1.5rem); line-height: 1.3;
text-fluid-3xlfont-size: clamp(1.5rem, 1.3533rem + 0.6522vw, 1.875rem); line-height: 1.2;
text-fluid-4xlfont-size: clamp(1.75rem, 1.5543rem + 0.8696vw, 2.25rem); line-height: 1.15;
text-fluid-5xlfont-size: clamp(2rem, 1.6087rem + 1.7391vw, 3rem); line-height: 1.1;
text-fluid-6xlfont-size: clamp(2.25rem, 1.663rem + 2.6087vw, 3.75rem); line-height: 1.05;

Padding 7

Variants: none

ClassCSS
p-fluid-xspadding: clamp(0.5rem, 0.4022rem + 0.4348vw, 0.75rem);
p-fluid-smpadding: clamp(0.75rem, 0.5543rem + 0.8696vw, 1.25rem);
p-fluid-mdpadding: clamp(1rem, 0.6087rem + 1.7391vw, 2rem);
p-fluid-lgpadding: clamp(1.5rem, 0.913rem + 2.6087vw, 3rem);
p-fluid-xlpadding: clamp(2rem, 1.2174rem + 3.4783vw, 4rem);
p-fluid-2xlpadding: clamp(3rem, 1.8261rem + 5.2174vw, 6rem);
p-fluid-3xlpadding: clamp(4rem, 2.4348rem + 6.9565vw, 8rem);

Padding inline 7

Variants: rtl:ltr:

ClassCSS
px-fluid-xspadding-inline: clamp(0.5rem, 0.4022rem + 0.4348vw, 0.75rem);
px-fluid-smpadding-inline: clamp(0.75rem, 0.5543rem + 0.8696vw, 1.25rem);
px-fluid-mdpadding-inline: clamp(1rem, 0.6087rem + 1.7391vw, 2rem);
px-fluid-lgpadding-inline: clamp(1.5rem, 0.913rem + 2.6087vw, 3rem);
px-fluid-xlpadding-inline: clamp(2rem, 1.2174rem + 3.4783vw, 4rem);
px-fluid-2xlpadding-inline: clamp(3rem, 1.8261rem + 5.2174vw, 6rem);
px-fluid-3xlpadding-inline: clamp(4rem, 2.4348rem + 6.9565vw, 8rem);

Padding block 7

Variants: none

ClassCSS
py-fluid-xspadding-block: clamp(0.5rem, 0.4022rem + 0.4348vw, 0.75rem);
py-fluid-smpadding-block: clamp(0.75rem, 0.5543rem + 0.8696vw, 1.25rem);
py-fluid-mdpadding-block: clamp(1rem, 0.6087rem + 1.7391vw, 2rem);
py-fluid-lgpadding-block: clamp(1.5rem, 0.913rem + 2.6087vw, 3rem);
py-fluid-xlpadding-block: clamp(2rem, 1.2174rem + 3.4783vw, 4rem);
py-fluid-2xlpadding-block: clamp(3rem, 1.8261rem + 5.2174vw, 6rem);
py-fluid-3xlpadding-block: clamp(4rem, 2.4348rem + 6.9565vw, 8rem);

Margin 7

Variants: none

ClassCSS
m-fluid-xsmargin: clamp(0.5rem, 0.4022rem + 0.4348vw, 0.75rem);
m-fluid-smmargin: clamp(0.75rem, 0.5543rem + 0.8696vw, 1.25rem);
m-fluid-mdmargin: clamp(1rem, 0.6087rem + 1.7391vw, 2rem);
m-fluid-lgmargin: clamp(1.5rem, 0.913rem + 2.6087vw, 3rem);
m-fluid-xlmargin: clamp(2rem, 1.2174rem + 3.4783vw, 4rem);
m-fluid-2xlmargin: clamp(3rem, 1.8261rem + 5.2174vw, 6rem);
m-fluid-3xlmargin: clamp(4rem, 2.4348rem + 6.9565vw, 8rem);

Gap 7

Variants: none

ClassCSS
gap-fluid-xsgap: clamp(0.5rem, 0.4022rem + 0.4348vw, 0.75rem);
gap-fluid-smgap: clamp(0.75rem, 0.5543rem + 0.8696vw, 1.25rem);
gap-fluid-mdgap: clamp(1rem, 0.6087rem + 1.7391vw, 2rem);
gap-fluid-lggap: clamp(1.5rem, 0.913rem + 2.6087vw, 3rem);
gap-fluid-xlgap: clamp(2rem, 1.2174rem + 3.4783vw, 4rem);
gap-fluid-2xlgap: clamp(3rem, 1.8261rem + 5.2174vw, 6rem);
gap-fluid-3xlgap: clamp(4rem, 2.4348rem + 6.9565vw, 8rem);

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.