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.

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

inset-block formal syntax
FieldValue
Formal syntax<'top'>{1,2}
Initial valueinset-block-start, inset-block-end
Applies topositionedElements
InheritedNo
PercentageslogicalHeightOfContainingBlock
Computed valueinset-block-start, inset-block-end
Animation typelpc
Mediavisual
Specification groupCSS Logical Properties and Values
StatusStandard

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.

inset-block live example
CSS .reset-example { inset-block: initial; } .inherit-example { inset-block: inherit; } @supports (inset-block: initial) { .supported { inset-block: initial; } }

Description

The CSS inset-block property is a standard property in CSS Logical Properties and Values. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: inset-block
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies