The .min-w
class is flagged as a value-driven selector.
The variable --min-w is required.
<element class="min-w" style="--min-w: /* value */;" />
Responsive
Prefix
.min-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w" style="--md-min-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before min-w::before" style="--min-w-before: /* value */;" /><element class="content-after min-w::after" style="--min-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.min-w
Sets min-width via --min-w.
[min-w]
Enforces a minimum width using raw --min-w.
CSS Rules
.\[min-w\] { min-width: var(--min-w);}
Usage
The .[min-w]
class is flagged as a value-driven selector.
The variable --min-w is required.
<element class="[min-w]" style="--min-w: /* value */;" />
Responsive
Prefix
.[min-w]
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:[min-w]" style="--md-min-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before [min-w]::before" style="--min-w-before: /* value */;" /><element class="content-after [min-w]::after" style="--min-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.[min-w]
Enforces a minimum width using raw --min-w.
min-w-3xs
Sets the minimum width to the 3xs container size variable.
CSS Rules
.min-w-3xs { min-width: var(--container-3xs);}
Usage
<element class="min-w-3xs" />
Responsive
Prefix
.min-w-3xs
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-3xs" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 3xs container size variable.
min-w-2xs
Sets the minimum width to the 2xs container size variable.
CSS Rules
.min-w-2xs { min-width: var(--container-2xs);}
Usage
<element class="min-w-2xs" />
Responsive
Prefix
.min-w-2xs
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-2xs" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 2xs container size variable.
min-w-xs
Sets the minimum width to the xs container size variable.
CSS Rules
.min-w-xs { min-width: var(--container-xs);}
Usage
<element class="min-w-xs" />
Responsive
Prefix
.min-w-xs
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-xs" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the xs container size variable.
min-w-sm
Sets the minimum width to the sm container size variable.
CSS Rules
.min-w-sm { min-width: var(--container-sm);}
Usage
<element class="min-w-sm" />
Responsive
Prefix
.min-w-sm
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-sm" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the sm container size variable.
min-w-md
Sets the minimum width to the md container size variable.
CSS Rules
.min-w-md { min-width: var(--container-md);}
Usage
<element class="min-w-md" />
Responsive
Prefix
.min-w-md
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-md" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the md container size variable.
min-w-lg
Sets the minimum width to the lg container size variable.
CSS Rules
.min-w-lg { min-width: var(--container-lg);}
Usage
<element class="min-w-lg" />
Responsive
Prefix
.min-w-lg
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-lg" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the lg container size variable.
min-w-xl
Sets the minimum width to the xl container size variable.
CSS Rules
.min-w-xl { min-width: var(--container-xl);}
Usage
<element class="min-w-xl" />
Responsive
Prefix
.min-w-xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the xl container size variable.
min-w-2xl
Sets the minimum width to the 2xl container size variable.
CSS Rules
.min-w-2xl { min-width: var(--container-2xl);}
Usage
<element class="min-w-2xl" />
Responsive
Prefix
.min-w-2xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-2xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 2xl container size variable.
min-w-3xl
Sets the minimum width to the 3xl container size variable.
CSS Rules
.min-w-3xl { min-width: var(--container-3xl);}
Usage
<element class="min-w-3xl" />
Responsive
Prefix
.min-w-3xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-3xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 3xl container size variable.
min-w-4xl
Sets the minimum width to the 4xl container size variable.
CSS Rules
.min-w-4xl { min-width: var(--container-4xl);}
Usage
<element class="min-w-4xl" />
Responsive
Prefix
.min-w-4xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-4xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 4xl container size variable.
min-w-5xl
Sets the minimum width to the 5xl container size variable.
CSS Rules
.min-w-5xl { min-width: var(--container-5xl);}
Usage
<element class="min-w-5xl" />
Responsive
Prefix
.min-w-5xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-5xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 5xl container size variable.
min-w-6xl
Sets the minimum width to the 6xl container size variable.
CSS Rules
.min-w-6xl { min-width: var(--container-6xl);}
Usage
<element class="min-w-6xl" />
Responsive
Prefix
.min-w-6xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-6xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 6xl container size variable.
min-w-7xl
Sets the minimum width to the 7xl container size variable.
CSS Rules
.min-w-7xl { min-width: var(--container-7xl);}
Usage
<element class="min-w-7xl" />
Responsive
Prefix
.min-w-7xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-7xl" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the 7xl container size variable.
min-w-auto
Sets the minimum width to auto.
CSS Rules
.min-w-auto { min-width: auto;}
Usage
<element class="min-w-auto" />
Responsive
Prefix
.min-w-auto
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-auto" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100% of the parent container.
CSS Rules
.min-w-full { min-width: 100%;}
Usage
<element class="min-w-full" />
Responsive
Prefix
.min-w-full
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-full" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100% of the parent container.
min-w-screen
Sets the minimum width to 100vw (viewport width).
CSS Rules
.min-w-screen { min-width: 100vw;}
Usage
<element class="min-w-screen" />
Responsive
Prefix
.min-w-screen
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-screen" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 dynamic viewport widths.
CSS Rules
.min-w-dvw { min-width: 100dvw;}
Usage
<element class="min-w-dvw" />
Responsive
Prefix
.min-w-dvw
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-dvw" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 dynamic viewport widths.
min-w-dvh
Sets the minimum width to 100 dynamic viewport heights.
CSS Rules
.min-w-dvh { min-width: 100dvh;}
Usage
<element class="min-w-dvh" />
Responsive
Prefix
.min-w-dvh
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-dvh" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 dynamic viewport heights.
min-w-lvw
Sets the minimum width to 100 large viewport widths.
CSS Rules
.min-w-lvw { min-width: 100lvw;}
Usage
<element class="min-w-lvw" />
Responsive
Prefix
.min-w-lvw
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-lvw" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 large viewport widths.
min-w-lvh
Sets the minimum width to 100 large viewport heights.
CSS Rules
.min-w-lvh { min-width: 100lvh;}
Usage
<element class="min-w-lvh" />
Responsive
Prefix
.min-w-lvh
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-lvh" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 large viewport heights.
min-w-svw
Sets the minimum width to 100 small viewport widths.
CSS Rules
.min-w-svw { min-width: 100svw;}
Usage
<element class="min-w-svw" />
Responsive
Prefix
.min-w-svw
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-svw" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 small viewport widths.
min-w-svh
Sets the minimum width to 100 small viewport heights.
CSS Rules
.min-w-svh { min-width: 100svh;}
Usage
<element class="min-w-svh" />
Responsive
Prefix
.min-w-svh
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-svh" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to 100 small viewport heights.
min-w-min
Sets the minimum width to the intrinsic minimum width of the content.
CSS Rules
.min-w-min { min-width: min-content;}
Usage
<element class="min-w-min" />
Responsive
Prefix
.min-w-min
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-min" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the intrinsic minimum width of the content.
min-w-max
Sets the minimum width to the intrinsic maximum width of the content.
CSS Rules
.min-w-max { min-width: max-content;}
Usage
<element class="min-w-max" />
Responsive
Prefix
.min-w-max
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-max" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
Sets the minimum width to the intrinsic maximum width of the content.
min-w-fit
Sets the minimum width to fit the element's content.
CSS Rules
.min-w-fit { min-width: fit-content;}
Usage
<element class="min-w-fit" />
Responsive
Prefix
.min-w-fit
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:min-w-fit" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.