<html>
<head>
<style>
#myDIV {
background-color:lightblue;
display: inline-block;
min-inline-size: 100px;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {min-inline-size: 200px;}
}
</style>
</head>
<body>
<h1>Animation of min-inline-size</h1>
<p>Gradually change the min-inline-size property from 100px to 200px, and back to 100px. The content keeps the box from getting smaller in the inline direction:<p>
<div id="myDIV">
This is my DIV element.
</div>
</body>
</html>