{"id":324840,"date":"2020-11-03T14:20:25","date_gmt":"2020-11-03T21:20:25","guid":{"rendered":"https:\/\/css-tricks.com\/?page_id=324840"},"modified":"2020-11-03T14:20:27","modified_gmt":"2020-11-03T21:20:27","slug":"max-inline-size","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/m\/max-inline-size\/","title":{"rendered":"max-inline-size"},"content":{"rendered":"\n

max-inline-size<\/code> is a logical property<\/a> in CSS that defines the maximum width of an element when the writing-mode<\/code> is horizontal, or the maximum height of the element when the writing-mode<\/code> is vertical.<\/p>\n\n\n\n

.element {\n\u00a0 max-inline-size: 500px;\n\u00a0 writing-mode: vertical-lr;\n}<\/code><\/pre>\n\n\n\n