<!DOCTYPE html>
<html>
<head>
<title>The inline-size property in CSS</title>
<style type="text/css">
.exampleText {
background-color: skyblue;
inline-size: auto;
writing-mode: horizontal-tb;
color: deeppink;
}
</style>
</head>
<body>
<p class="exampleText">Example text</p>
</body>
</html>