Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
.bluediv {
  background-color:lightblue;
  height: 50px;
  inline-size: 80%;
}
</style>
</head>
<body>
<h1>The inline-size Property</h1>
<div class="bluediv">
  See this blue div element with different inline-size values.
</div>
</body>
</html>