Display
Switch between block, inline, and flex rendering modes
Overflow
Clip, scroll, or expose content that exceeds its container
Positioning
Control stacking flow with static, relative, absolute, and more
Object Fit
Scale and crop images and videos within fixed frames
Aspect Ratio
Lock containers to square, video, or auto proportions
Z-Index
Layer overlapping elements with a predictable stacking order
Display
The display utilities set an element’s outer rendering role. Use them to override Elementor’s default display values or to turn any widget into a flex container on the spot.| Class | CSS | When to use |
|---|---|---|
.block | display: block | Full-width stacking element |
.inline-block | display: inline-block | Inline element that respects width and height |
.flex | display: flex | Block-level flex container |
.inline-flex | display: inline-flex | Inline flex container (useful inside text) |
.hidden | display: none | Remove from layout entirely |
Overflow
Overflow utilities control what happens when content is larger than its container. They are especially useful for card components, image wrappers, and sticky headers.| Class | CSS | When to use |
|---|---|---|
.overflow-hidden | overflow: hidden | Clip content; also masks child border-radius |
.overflow-auto | overflow: auto | Add scrollbars only when content overflows |
.overflow-visible | overflow: visible | Let content extend beyond the container box |
.overflow-hidden with a border-radius utility so that a child image respects the card’s rounded corners:
Positioning
Positioning utilities map directly to the CSSposition property. Use them to step elements in or out of the normal document flow.
| Class | CSS |
|---|---|
.static | position: static |
.relative | position: relative |
.absolute | position: absolute |
.fixed | position: fixed |
.sticky | position: sticky |
Relative + Absolute pattern
The most frequent use case is anchoring a badge or overlay to a parent. Give the parent.relative and the child .absolute, then add offsets with custom CSS:
.absolute child is positioned relative to its nearest .relative ancestor, not the page.
Sticky positioning
Use.sticky to keep a navigation bar or section header attached to the viewport as the user scrolls, while it still participates in normal flow when it first appears:
For
.sticky to work, the element’s scrollable ancestor must not have overflow: hidden applied. If the header disappears instead of sticking, check parent overflow values.Z-Index
AtomicKit ships z-index utilities fromz-0 to z-100 in steps of 10.
| Class | Value |
|---|---|
.z-0 | z-index: 0 |
.z-10 | z-index: 10 |
.z-20 | z-index: 20 |
.z-30 | z-index: 30 |
.z-40 | z-index: 40 |
.z-50 | z-index: 50 |
.z-60 | z-index: 60 |
.z-70 | z-index: 70 |
.z-80 | z-index: 80 |
.z-90 | z-index: 90 |
.z-100 | z-index: 100 |
Object Fit
Object-fit utilities control how a replaced element (image or video) scales inside its container. They are most useful when you fix the container’s dimensions and want consistent cropping or letterboxing across different source aspect ratios.| Class | CSS | When to use |
|---|---|---|
.object-contain | object-fit: contain | Show the whole image; letterbox if needed |
.object-cover | object-fit: cover | Fill the frame; crop edges to fit |
.object-fill | object-fit: fill | Stretch to fill — distorts if ratios differ |
.object-none | object-fit: none | Render at intrinsic size; no scaling |
.object-scale-down | object-fit: scale-down | Shrink to fit but never enlarge |
.object-cover so every thumbnail fills its fixed frame without distortion regardless of the original upload dimensions:
Aspect Ratio
Aspect ratio utilities lock a container’s proportions so its height scales automatically with its width. This keeps media frames consistent across different screen sizes without fixed pixel heights.| Class | Ratio | Common use |
|---|---|---|
.aspect-square | 1:1 | Avatar frames, product thumbnails |
.aspect-video | 16:9 | Video embeds, hero banners |
.aspect-auto | — | Remove a previously applied fixed ratio |
Responsive Variants
Every structural layout utility in this page supports AtomicKit’s--on-* responsive suffix. Append the suffix to target a specific breakpoint:
Responsive suffixes follow the mobile-first convention:
--on-s, --on-m, --on-l, and --on-xl. A class without a suffix applies at all viewport sizes.