CSS inset-block Property Reference
The CSS inset-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
inset-block overview
The CSS inset-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | <'top'>{1,2} |
| Initial value | inset-block-start, inset-block-end |
| Applies to | positionedElements |
| Inherited | No |
| Percentages | logicalHeightOfContainingBlock |
| Computed value | inset-block-start, inset-block-end |
| Animation type | lpc |
| Media | visual |
| Specification group | CSS Logical Properties and Values |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set inset-block. The initial and inherit global keywords remain available even when a property-specific value is preferable.
.reset-example {
inset-block: initial;
}
.inherit-example {
inset-block: inherit;
}
@supports (inset-block: initial) {
.supported {
inset-block: initial;
}
}