Monsoon v0.2.0
Made by Alexandre Kohler Star

Utilities

Borders

Border width and style, radius, divide, ring and outline utilities.

193classes
323variant classes
20properties
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 focus-visible:ring-0. 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
Statefocus:focus-within:focus-visible:25
Group and peernot generated0
Structurefirst:last:odd:even:5
Motionnot generated0
Schemenot generated0
Breakpointsnot generated0
Containersnot generated0
Media and directionrtl:ltr:forced-colors:81

Border width 5

Variants: listed per class

ClassCSSVariants
border-0border-width: 0;first last odd even forced-colors
border-2border-width: 2px;forced-colors
border-4border-width: 4px;forced-colors
border-8border-width: 8px;forced-colors
borderborder-width: 1px;forced-colors

Border left width 10

Variants: listed per class

ClassCSSVariants
border-x-0border-left-width: 0; border-right-width: 0;rtl ltr forced-colors
border-x-2border-left-width: 2px; border-right-width: 2px;rtl ltr forced-colors
border-x-4border-left-width: 4px; border-right-width: 4px;rtl ltr forced-colors
border-x-8border-left-width: 8px; border-right-width: 8px;rtl ltr forced-colors
border-xborder-left-width: 1px; border-right-width: 1px;rtl ltr forced-colors
border-l-0border-left-width: 0;first last odd even rtl ltr forced-colors
border-l-2border-left-width: 2px;rtl ltr forced-colors
border-l-4border-left-width: 4px;rtl ltr forced-colors
border-l-8border-left-width: 8px;rtl ltr forced-colors
border-lborder-left-width: 1px;rtl ltr forced-colors

Border top width 15

Variants: listed per class

ClassCSSVariants
border-y-0border-top-width: 0; border-bottom-width: 0;forced-colors
border-y-2border-top-width: 2px; border-bottom-width: 2px;forced-colors
border-y-4border-top-width: 4px; border-bottom-width: 4px;forced-colors
border-y-8border-top-width: 8px; border-bottom-width: 8px;forced-colors
border-yborder-top-width: 1px; border-bottom-width: 1px;forced-colors
border-t-0border-top-width: 0;first last odd even forced-colors
border-t-2border-top-width: 2px;forced-colors
border-t-4border-top-width: 4px;forced-colors
border-t-8border-top-width: 8px;forced-colors
border-tborder-top-width: 1px;forced-colors
divide-y-0border-top-width: 0; border-bottom-style: solid; border-bottom-width: 0;
divide-y-2border-top-width: 0; border-bottom-style: solid; border-bottom-width: 2px;
divide-y-4border-top-width: 0; border-bottom-style: solid; border-bottom-width: 4px;
divide-y-8border-top-width: 0; border-bottom-style: solid; border-bottom-width: 8px;
divide-yborder-top-width: 0; border-bottom-style: solid; border-bottom-width: 1px;

Border right width 5

Variants: listed per class

ClassCSSVariants
border-r-0border-right-width: 0;first last odd even rtl ltr forced-colors
border-r-2border-right-width: 2px;rtl ltr forced-colors
border-r-4border-right-width: 4px;rtl ltr forced-colors
border-r-8border-right-width: 8px;rtl ltr forced-colors
border-rborder-right-width: 1px;rtl ltr forced-colors

Border bottom width 5

Variants: listed per class

ClassCSSVariants
border-b-0border-bottom-width: 0;first last odd even forced-colors
border-b-2border-bottom-width: 2px;forced-colors
border-b-4border-bottom-width: 4px;forced-colors
border-b-8border-bottom-width: 8px;forced-colors
border-bborder-bottom-width: 1px;forced-colors

Border inline start width 5

Variants: forced-colors:

ClassCSS
border-s-0border-inline-start-width: 0;
border-s-2border-inline-start-width: 2px;
border-s-4border-inline-start-width: 4px;
border-s-8border-inline-start-width: 8px;
border-sborder-inline-start-width: 1px;

Border inline end width 5

Variants: forced-colors:

ClassCSS
border-e-0border-inline-end-width: 0;
border-e-2border-inline-end-width: 2px;
border-e-4border-inline-end-width: 4px;
border-e-8border-inline-end-width: 8px;
border-eborder-inline-end-width: 1px;

Border style 11

Variants: listed per class

ClassCSSVariants
border-solidborder-style: solid;forced-colors
border-dashedborder-style: dashed;forced-colors
border-dottedborder-style: dotted;forced-colors
border-doubleborder-style: double;forced-colors
border-hiddenborder-style: hidden;
border-noneborder-style: none;forced-colors
divide-solidborder-style: solid;
divide-dashedborder-style: dashed;
divide-dottedborder-style: dotted;
divide-doubleborder-style: double;
divide-noneborder-style: none;

Border radius 11

Variants: none

ClassCSS
rounded-noneborder-radius: 0;
rounded-xsborder-radius: 0.125rem;
rounded-smborder-radius: 0.25rem;
roundedborder-radius: 0.25rem;
rounded-mdborder-radius: 0.375rem;
rounded-lgborder-radius: 0.5rem;
rounded-xlborder-radius: 0.75rem;
rounded-2xlborder-radius: 1rem;
rounded-3xlborder-radius: 1.5rem;
rounded-4xlborder-radius: 2rem;
rounded-fullborder-radius: 9999px;

Border top left radius 33

Variants: listed per class

ClassCSSVariants
rounded-t-noneborder-top-left-radius: 0; border-top-right-radius: 0;
rounded-t-xsborder-top-left-radius: 0.125rem; border-top-right-radius: 0.125rem;
rounded-t-smborder-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem;
rounded-tborder-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem;
rounded-t-mdborder-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem;
rounded-t-lgborder-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem;
rounded-t-xlborder-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem;
rounded-t-2xlborder-top-left-radius: 1rem; border-top-right-radius: 1rem;
rounded-t-3xlborder-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem;
rounded-t-4xlborder-top-left-radius: 2rem; border-top-right-radius: 2rem;
rounded-t-fullborder-top-left-radius: 9999px; border-top-right-radius: 9999px;
rounded-l-noneborder-top-left-radius: 0; border-bottom-left-radius: 0;rtl ltr
rounded-l-xsborder-top-left-radius: 0.125rem; border-bottom-left-radius: 0.125rem;rtl ltr
rounded-l-smborder-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem;rtl ltr
rounded-lborder-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem;rtl ltr
rounded-l-mdborder-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem;rtl ltr
rounded-l-lgborder-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem;rtl ltr
rounded-l-xlborder-top-left-radius: 0.75rem; border-bottom-left-radius: 0.75rem;rtl ltr
rounded-l-2xlborder-top-left-radius: 1rem; border-bottom-left-radius: 1rem;rtl ltr
rounded-l-3xlborder-top-left-radius: 1.5rem; border-bottom-left-radius: 1.5rem;rtl ltr
rounded-l-4xlborder-top-left-radius: 2rem; border-bottom-left-radius: 2rem;rtl ltr
rounded-l-fullborder-top-left-radius: 9999px; border-bottom-left-radius: 9999px;rtl ltr
rounded-tl-noneborder-top-left-radius: 0;rtl ltr
rounded-tl-xsborder-top-left-radius: 0.125rem;rtl ltr
rounded-tl-smborder-top-left-radius: 0.25rem;rtl ltr
rounded-tlborder-top-left-radius: 0.25rem;rtl ltr
rounded-tl-mdborder-top-left-radius: 0.375rem;rtl ltr
rounded-tl-lgborder-top-left-radius: 0.5rem;rtl ltr
rounded-tl-xlborder-top-left-radius: 0.75rem;rtl ltr
rounded-tl-2xlborder-top-left-radius: 1rem;rtl ltr
rounded-tl-3xlborder-top-left-radius: 1.5rem;rtl ltr
rounded-tl-4xlborder-top-left-radius: 2rem;rtl ltr
rounded-tl-fullborder-top-left-radius: 9999px;rtl ltr

Border top right radius 22

Variants: rtl:ltr:

ClassCSS
rounded-r-noneborder-top-right-radius: 0; border-bottom-right-radius: 0;
rounded-r-xsborder-top-right-radius: 0.125rem; border-bottom-right-radius: 0.125rem;
rounded-r-smborder-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem;
rounded-rborder-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem;
rounded-r-mdborder-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem;
rounded-r-lgborder-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem;
rounded-r-xlborder-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem;
rounded-r-2xlborder-top-right-radius: 1rem; border-bottom-right-radius: 1rem;
rounded-r-3xlborder-top-right-radius: 1.5rem; border-bottom-right-radius: 1.5rem;
rounded-r-4xlborder-top-right-radius: 2rem; border-bottom-right-radius: 2rem;
rounded-r-fullborder-top-right-radius: 9999px; border-bottom-right-radius: 9999px;
rounded-tr-noneborder-top-right-radius: 0;
rounded-tr-xsborder-top-right-radius: 0.125rem;
rounded-tr-smborder-top-right-radius: 0.25rem;
rounded-trborder-top-right-radius: 0.25rem;
rounded-tr-mdborder-top-right-radius: 0.375rem;
rounded-tr-lgborder-top-right-radius: 0.5rem;
rounded-tr-xlborder-top-right-radius: 0.75rem;
rounded-tr-2xlborder-top-right-radius: 1rem;
rounded-tr-3xlborder-top-right-radius: 1.5rem;
rounded-tr-4xlborder-top-right-radius: 2rem;
rounded-tr-fullborder-top-right-radius: 9999px;

Border bottom right radius 22

Variants: listed per class

ClassCSSVariants
rounded-b-noneborder-bottom-right-radius: 0; border-bottom-left-radius: 0;
rounded-b-xsborder-bottom-right-radius: 0.125rem; border-bottom-left-radius: 0.125rem;
rounded-b-smborder-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
rounded-bborder-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
rounded-b-mdborder-bottom-right-radius: 0.375rem; border-bottom-left-radius: 0.375rem;
rounded-b-lgborder-bottom-right-radius: 0.5rem; border-bottom-left-radius: 0.5rem;
rounded-b-xlborder-bottom-right-radius: 0.75rem; border-bottom-left-radius: 0.75rem;
rounded-b-2xlborder-bottom-right-radius: 1rem; border-bottom-left-radius: 1rem;
rounded-b-3xlborder-bottom-right-radius: 1.5rem; border-bottom-left-radius: 1.5rem;
rounded-b-4xlborder-bottom-right-radius: 2rem; border-bottom-left-radius: 2rem;
rounded-b-fullborder-bottom-right-radius: 9999px; border-bottom-left-radius: 9999px;
rounded-br-noneborder-bottom-right-radius: 0;rtl ltr
rounded-br-xsborder-bottom-right-radius: 0.125rem;rtl ltr
rounded-br-smborder-bottom-right-radius: 0.25rem;rtl ltr
rounded-brborder-bottom-right-radius: 0.25rem;rtl ltr
rounded-br-mdborder-bottom-right-radius: 0.375rem;rtl ltr
rounded-br-lgborder-bottom-right-radius: 0.5rem;rtl ltr
rounded-br-xlborder-bottom-right-radius: 0.75rem;rtl ltr
rounded-br-2xlborder-bottom-right-radius: 1rem;rtl ltr
rounded-br-3xlborder-bottom-right-radius: 1.5rem;rtl ltr
rounded-br-4xlborder-bottom-right-radius: 2rem;rtl ltr
rounded-br-fullborder-bottom-right-radius: 9999px;rtl ltr

Border bottom left radius 11

Variants: rtl:ltr:

ClassCSS
rounded-bl-noneborder-bottom-left-radius: 0;
rounded-bl-xsborder-bottom-left-radius: 0.125rem;
rounded-bl-smborder-bottom-left-radius: 0.25rem;
rounded-blborder-bottom-left-radius: 0.25rem;
rounded-bl-mdborder-bottom-left-radius: 0.375rem;
rounded-bl-lgborder-bottom-left-radius: 0.5rem;
rounded-bl-xlborder-bottom-left-radius: 0.75rem;
rounded-bl-2xlborder-bottom-left-radius: 1rem;
rounded-bl-3xlborder-bottom-left-radius: 1.5rem;
rounded-bl-4xlborder-bottom-left-radius: 2rem;
rounded-bl-fullborder-bottom-left-radius: 9999px;

Border inline style 5

Variants: none

ClassCSS
divide-x-0border-inline-style: solid; border-inline-start-width: 0; border-inline-end-width: 0;
divide-x-2border-inline-style: solid; border-inline-start-width: 0; border-inline-end-width: 2px;
divide-x-4border-inline-style: solid; border-inline-start-width: 0; border-inline-end-width: 4px;
divide-x-8border-inline-style: solid; border-inline-start-width: 0; border-inline-end-width: 8px;
divide-xborder-inline-style: solid; border-inline-start-width: 0; border-inline-end-width: 1px;

Ring width 6

Variants: focus:focus-within:focus-visible:

ClassCSS
ring-0--m-ring-offset-shadow: var(--m-ring-inset,) 0 0 0 var(--m-ring-offset-width) var(--m-ring-offset-color); --m-ring-shadow: var(--m-ring-inset,) 0 0 0 calc(0px + var(--m-ring-offset-width)) var(--m-ring-color); box-shadow: var(--m-ring-offset-shadow), var(--m-ring-shadow), var(--m-shadow);
ring-1--m-ring-offset-shadow: var(--m-ring-inset,) 0 0 0 var(--m-ring-offset-width) var(--m-ring-offset-color); --m-ring-shadow: var(--m-ring-inset,) 0 0 0 calc(1px + var(--m-ring-offset-width)) var(--m-ring-color); box-shadow: var(--m-ring-offset-shadow), var(--m-ring-shadow), var(--m-shadow);
ring-2--m-ring-offset-shadow: var(--m-ring-inset,) 0 0 0 var(--m-ring-offset-width) var(--m-ring-offset-color); --m-ring-shadow: var(--m-ring-inset,) 0 0 0 calc(2px + var(--m-ring-offset-width)) var(--m-ring-color); box-shadow: var(--m-ring-offset-shadow), var(--m-ring-shadow), var(--m-shadow);
ring-4--m-ring-offset-shadow: var(--m-ring-inset,) 0 0 0 var(--m-ring-offset-width) var(--m-ring-offset-color); --m-ring-shadow: var(--m-ring-inset,) 0 0 0 calc(4px + var(--m-ring-offset-width)) var(--m-ring-color); box-shadow: var(--m-ring-offset-shadow), var(--m-ring-shadow), var(--m-shadow);
ring-8--m-ring-offset-shadow: var(--m-ring-inset,) 0 0 0 var(--m-ring-offset-width) var(--m-ring-offset-color); --m-ring-shadow: var(--m-ring-inset,) 0 0 0 calc(8px + var(--m-ring-offset-width)) var(--m-ring-color); box-shadow: var(--m-ring-offset-shadow), var(--m-ring-shadow), var(--m-shadow);
ring--m-ring-offset-shadow: var(--m-ring-inset,) 0 0 0 var(--m-ring-offset-width) var(--m-ring-offset-color); --m-ring-shadow: var(--m-ring-inset,) 0 0 0 calc(3px + var(--m-ring-offset-width)) var(--m-ring-color); box-shadow: var(--m-ring-offset-shadow), var(--m-ring-shadow), var(--m-shadow);

Ring inset 1

Variants: focus:focus-within:focus-visible:

ClassCSS
ring-inset--m-ring-inset: inset;

Ring offset width 5

Variants: focus:focus-within:focus-visible:

ClassCSS
ring-offset-0--m-ring-offset-width: 0px;
ring-offset-1--m-ring-offset-width: 1px;
ring-offset-2--m-ring-offset-width: 2px;
ring-offset-4--m-ring-offset-width: 4px;
ring-offset-8--m-ring-offset-width: 8px;

Outline 2

Variants: focus:focus-within:focus-visible:forced-colors:

ClassCSS
outline-noneoutline: 2px solid transparent; outline-offset: 2px;
outline-hiddenoutline: 2px solid transparent; outline-offset: 2px;

Outline style 9

Variants: listed per class

ClassCSSVariants
outlineoutline-style: solid; outline-width: 1px;focus focus-within focus-visible forced-colors
outline-0outline-style: solid; outline-width: 0px;focus focus-within focus-visible forced-colors
outline-1outline-style: solid; outline-width: 1px;focus focus-within focus-visible forced-colors
outline-2outline-style: solid; outline-width: 2px;focus focus-within focus-visible forced-colors
outline-4outline-style: solid; outline-width: 4px;focus focus-within focus-visible forced-colors
outline-8outline-style: solid; outline-width: 8px;focus focus-within focus-visible forced-colors
outline-dashedoutline-style: dashed;forced-colors
outline-dottedoutline-style: dotted;forced-colors
outline-doubleoutline-style: double;forced-colors

Outline offset 5

Variants: focus:focus-within:focus-visible:forced-colors:

ClassCSS
outline-offset-0outline-offset: 0px;
outline-offset-1outline-offset: 1px;
outline-offset-2outline-offset: 2px;
outline-offset-4outline-offset: 4px;
outline-offset-8outline-offset: 8px;

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.