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
Display utilities control how elements render in layout. They are the starting point for most framework composition: block flow, inline layout, flex layout, and visibility toggles.| Class | CSS | Usage |
|---|---|---|
.block | display: block; | Full-width block element |
.inline-block | display: inline-block; | Inline with box-model sizing |
.flex | display: flex; | Flex container |
.inline-flex | display: inline-flex; | Inline flex container |
.hidden | display: none; | Remove from layout |
Block
.block makes an element start on a new line and fill the full width of its parent. This is the default for divs and section elements.
Inline and Inline Block
.inline-block gives an element inline flow (it sits alongside text) but lets you control width, height, padding, and margin like a block. Use it for badges, buttons, and compact UI controls.
Flex
.flex turns an element into a flex container, laying children out in a horizontal row by default. This is the foundation for most modern layout composition.
Inline Flex
.inline-flex creates a flex container that participates in inline flow. The container sizes to its content and sits alongside surrounding text. Use it for inline tag groups and compact controls.
Hidden
.hidden removes an element from layout entirely. It will not be visible or take up space.
Best Practices
Use Block for Structural Elements
Reach for
.block when the element should start on a new line and fill the row.Use Inline Block or Inline Flex for Compact UI
Badges, buttons, and compact controls often benefit from inline formatting with layout control.
Related Utilities
Flexbox
Complete flexbox utilities for layouts
Spacing
Margin, padding, and gap utilities

