CSS inset-inline-start Property
Description
The inset-inline-start CSS property defines the logical offset of an element’s start edge along the inline axis of its containing block. In practice this means it sets how far the element’s start-side should be placed from the corresponding start edge of the containing block, using the logical box model rather than a fixed physical side. It applies to positioned elements (those with a non‑static position) and is used in place of physical offsets when you want layouts that adapt to different writing directions and writing modes.
Which physical side the property controls depends on the element’s writing orientation and direction: the inline axis and the notion of “start” are determined by the writing-mode and direction properties. For example, in a typical horizontal left‑to‑right flow the inline start corresponds to the left edge, while in a right‑to‑left flow it corresponds to the right edge; in vertical writing modes the inline axis is vertical, so the mapped physical edge will be top or bottom depending on the mode. Because of this mapping, inset-inline-start is a useful logical substitute for physical properties such as left in multi‑lingual interfaces.
In real-world layouts you’ll often use inset-inline-start together with its logical counterparts — for example the shorthand inset, the inline opposite inset-inline-end, or block‑axis properties like inset-block-start — to express offsets in a writing‑mode‑neutral way. When both inline start and inline end are specified on a positioned element, they can together constrain or determine the element’s inline size (similar to how setting both left and right on an absolutely positioned element affects its width). Using the logical offset model makes it much easier to build components that automatically mirror for RTL languages and adapt across different writing systems.
Definition
- Initial value
- auto
- Applies to
- positioned elements
- Inherited
- no
- Computed value
- same as box offsets: top, right, bottom, left properties except that directions are logical
- Animatable
- a length, percentage or calc();
- JavaScript syntax
- object.style.insetInlineStart
Interactive Demo
Syntax
inset-inline-start: auto | <length-percentage>
Values
- <length-percentage>Specifies distance in px, pt, cm, etc. Negative values are allowed.
Example
Browser Support
The following information will show you the current browser support for the CSS inset-inline-start property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
