CSS min-inline-size Property
Description
The min-inline-size property defines the smallest allowed size of an element in the inline direction — that is, the minimum distance an element must occupy along the line in which text flows for its current writing mode. Because it is a logical property, its effect follows the document’s writing mode and direction: in horizontal left-to-right contexts it behaves like a minimum inline width, while in vertical writing modes it constrains the element’s vertical measurement. It is intended to prevent elements from collapsing or becoming smaller than a usable size, regardless of their content, children, or other size constraints.
During layout, min-inline-size participates in the browser’s constraint resolution algorithm as a lower bound on the element’s used inline-size. The used inline-size will be the result of resolving intrinsic sizes, explicit size properties such as width, and min/max constraints; if that resolution would produce an inline-size smaller than the minimum, the minimum wins and forces the element to be larger. Percentages on min-inline-size resolve against the containing block’s inline-size as defined by the current writing-mode, so responsive effects cascade from the parent’s inline dimension. When both a minimum and a maximum are specified (for example with max-inline-size), the browser clamps the final used inline-size between those bounds.
In practical use, min-inline-size is useful for keeping UI controls, cards, and images legible and clickable at small sizes and for avoiding unwanted collapsing in flexible layouts. In flex and grid containers it interacts with the layout algorithm to limit how much an item can shrink, and can therefore affect distribution of free space and overflow behavior. It is complementary to properties that set absolute or preferred sizes — for example, an explicit width may be overridden by the computed minimum if the width is smaller than the min, while min-width is the physical-direction counterpart used when you need a minimum in content’s physical inline axis. Use min-inline-size when you want a writing-mode-agnostic minimum constraint that adapts correctly across horizontal and vertical layouts.
Definition
- Initial value
- 0
- Applies to
- same as width and height
- Inherited
- no
- Computed value
- same as min-width and min-height
- Animatable
- a length, percentage or calc();
- JavaScript syntax
- object.style.minInlineSize
Interactive Demo
Syntax
min-inline-size: <min-width>
Values
- <min-width>Defines the min-block-size as an value or percentage.
Example
Browser Support
The following information will show you the current browser support for the CSS min-inline-size 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
