Documentation Index
Fetch the complete documentation index at: https://skelementorcss.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use overflow utilities when content needs to be clipped, scrollable, or explicitly allowed to spill outside its frame. The bundle shipsoverflow-hidden, overflow-auto, and overflow-visible, each with responsive --on-* suffix variants like other structural utilities (see Breakpoints).
| Class | CSS | Usage |
|---|---|---|
.overflow-hidden | overflow: hidden; | Clip overflowing content |
.overflow-auto | overflow: auto; | Scroll only when needed |
.overflow-visible | overflow: visible; | Let content extend past the box; reset clipping from a parent |
Overflow Visible
Without an overflow class, browsers useoverflow: visible by default. Use .overflow-visible when you need to name that behavior—typically to override an ancestor’s overflow-hidden or to make overflow explicit in the class list. The demo below illustrates visible overflow; in real markup, apply .overflow-visible on the element you want to unclip.
Overflow Hidden
.overflow-hidden clips any content that extends beyond the container boundaries. The clipped content is not accessible via scrolling.
Overflow Auto
.overflow-auto adds scrollbars only when content overflows. This keeps content reachable without cluttering the UI with unnecessary scrollbars.
Best Practices
Use Hidden for Cropped Surfaces
overflow-hidden is ideal for rounded media cards, avatars, and framed layouts.Use Auto for Accessible Long Content
overflow-auto keeps content reachable without forcing scrollbars when they are not needed.Give the Container a Real Frame
Overflow only becomes visible when the element has constrained size through height, width, or aspect ratio.
Related Utilities
Display
Display utilities for container behavior
Object Fit
Control how images fit in containers

