inset-block-start
A logical property that sets the distance from the 'start' of the block axis (usually the 'top' in English layouts). It's the logical replacement for 'top'.
It is documented as part of the CSS Logical Properties and Values, CSS Positioned Layout specification.
Syntax
/* Usage Example */
.sticky-header {
position: sticky;
/* Sticks to the top of the container in a logical way */
inset-block-start: 0;
}
/* Syntax */
inset-block-start: top;
/* Global values */
inset-block-start: inherit;
inset-block-start: initial;
inset-block-start: revert;
inset-block-start: revert-layer;
inset-block-start: unset;
inset-block-start Browser support
Widely available
Since
2021 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.
87+
63+
14.1+
87+