CSS max-inline-size

Previous Next

Demo of the different values of the max-inline-size property.

Click the property values below to see the result:

max-inline-size: 10px;
max-inline-size: 100px;
max-inline-size: auto;
max-inline-size: 20%;
max-inline-size: 80%;
See this blue div element with different max-inline-size values.
See this blue div element with different max-inline-size values.
See this blue div element with different max-inline-size values.
See this blue div element with different max-inline-size values.
See this blue div element with different max-inline-size values.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯