CSS · Properties — CSS Logical Properties and Values

inline-size

The CSS inline-size property. Initial value: auto. Not inherited.

Syntax
inline-size: <'width'>

Example

Try it

Notes

Media: visual. Applies to: sameAsWidthAndHeight. Computed value: sameAsWidthAndHeight.

More in this group

block-size border-block border-block-color border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course