Module min_width

Module min_width 

Source
Expand description

Utilities for setting the minimum width of an element.

Class Properties
min-w-<float>min-width: <float / 4>rem;
min-w-<integer>/<integer>min-width: (<integer>/<integer>)%;
min-w-pxmin-width: 1px;
min-w-automin-width: auto;
min-w-fullmin-width: 100%;
min-w-screenmin-width: 100vw;
min-w-minmin-width: min-content;
min-w-maxmin-width: max-content;
min-w-fitmin-width: fit-content;

§Tailwind compatibility

Minimum width values don’t follow Tailwind’s philosophy of limiting possible values and all spacing values are supported (screen also). They are however perfectly compatible with Tailwind’s values.

§Arbitrary values

Any <length> or <percentage> property is allowed as arbitrary value. For example, min-w-[4.2in].

Tailwind reference