Sets overflow: auto. Adds scrollbars only when needed.
CSS Rules
.overflow-auto { overflow: auto;}
Usage
<element class="overflow-auto" />
Responsive
Prefix
.overflow-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:overflow-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 overflow: auto. Adds scrollbars only when needed.
overflow-hidden
Sets overflow: hidden. Clips content that exceeds bounds.
CSS Rules
.overflow-hidden { overflow: hidden;}
Usage
<element class="overflow-hidden" />
Responsive
Prefix
.overflow-hidden
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-hidden" />
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 overflow: hidden. Clips content that exceeds bounds.
overflow-clip
Clips overflow content extending beyond the element's box, hiding it without enabling scrolling.
CSS Rules
.overflow-clip { overflow: clip;}
Usage
<element class="overflow-clip" />
Responsive
Prefix
.overflow-clip
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-clip" />
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.
Clips overflow content extending beyond the element's box, hiding it without enabling scrolling.
overflow-visible
Sets overflow: visible. Content can exceed the element bounds.
CSS Rules
.overflow-visible { overflow: visible;}
Usage
<element class="overflow-visible" />
Responsive
Prefix
.overflow-visible
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-visible" />
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 overflow: visible. Content can exceed the element bounds.
overflow-scroll
Sets overflow: scroll. Always shows scrollbars.
CSS Rules
.overflow-scroll { overflow: scroll;}
Usage
<element class="overflow-scroll" />
Responsive
Prefix
.overflow-scroll
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-scroll" />
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.
Adds horizontal scrolling if content overflows the element horizontally.
CSS Rules
.overflow-x-auto { overflow-x: auto;}
Usage
<element class="overflow-x-auto" />
Responsive
Prefix
.overflow-x-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:overflow-x-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.
Adds horizontal scrolling if content overflows the element horizontally.
overflow-y-auto
Sets overflow-y: auto. Vertical scroll when content overflows.
CSS Rules
.overflow-y-auto { overflow-y: auto;}
Usage
<element class="overflow-y-auto" />
Responsive
Prefix
.overflow-y-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:overflow-y-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 overflow-y: auto. Vertical scroll when content overflows.
overflow-x-hidden
Sets overflow-x: hidden. Clips only horizontal overflow.
CSS Rules
.overflow-x-hidden { overflow-x: hidden;}
Usage
<element class="overflow-x-hidden" />
Responsive
Prefix
.overflow-x-hidden
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-x-hidden" />
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 overflow-x: hidden. Clips only horizontal overflow.
overflow-y-hidden
Hides content that overflows the element vertically.
CSS Rules
.overflow-y-hidden { overflow-y: hidden;}
Usage
<element class="overflow-y-hidden" />
Responsive
Prefix
.overflow-y-hidden
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-y-hidden" />
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.
Hides content that overflows the element vertically.
overflow-x-clip
Clips horizontal overflow content extending beyond the element's box.
CSS Rules
.overflow-x-clip { overflow-x: clip;}
Usage
<element class="overflow-x-clip" />
Responsive
Prefix
.overflow-x-clip
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-x-clip" />
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.
Clips horizontal overflow content extending beyond the element's box.
overflow-y-clip
Clips vertical overflow content extending beyond the element's box.
CSS Rules
.overflow-y-clip { overflow-y: clip;}
Usage
<element class="overflow-y-clip" />
Responsive
Prefix
.overflow-y-clip
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-y-clip" />
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.
Clips vertical overflow content extending beyond the element's box.
overflow-x-visible
Ensures horizontal overflow is not clipped or hidden.
CSS Rules
.overflow-x-visible { overflow-x: visible;}
Usage
<element class="overflow-x-visible" />
Responsive
Prefix
.overflow-x-visible
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-x-visible" />
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.
Ensures horizontal overflow is not clipped or hidden.
overflow-y-visible
Ensures vertical overflow is not clipped or hidden.
CSS Rules
.overflow-y-visible { overflow-y: visible;}
Usage
<element class="overflow-y-visible" />
Responsive
Prefix
.overflow-y-visible
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-y-visible" />
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.
Ensures vertical overflow is not clipped or hidden.
overflow-x-scroll
Forces a horizontal scrollbar whether content overflows or not.
CSS Rules
.overflow-x-scroll { overflow-x: scroll;}
Usage
<element class="overflow-x-scroll" />
Responsive
Prefix
.overflow-x-scroll
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-x-scroll" />
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.
Forces a horizontal scrollbar whether content overflows or not.
overflow-y-scroll
Forces a vertical scrollbar whether content overflows or not.
CSS Rules
.overflow-y-scroll { overflow-y: scroll;}
Usage
<element class="overflow-y-scroll" />
Responsive
Prefix
.overflow-y-scroll
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:overflow-y-scroll" />
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.