代码示例:(标识:cssref_anim_min-width)
<!DOCTYPE html>
<html>
<head>
<style> 
#myDIV {
  width: 50%;
  background-color: lightblue;
  overflow: auto;
  border: 1px solid black;
  animation: mymove 5s infinite;
}

@keyframes mymove {
  50% {min-width: 800px;}
}
</style>
</head>
<body>

<h1>min-width 的动画效果:</h1>

<p>将最小宽度从 "none" 改为 800px,然后再改回 "none":<p>
<p><b>注释:</b>min-width 属性会覆盖 width 属性。</p>

<div id="myDIV">
  <p>该 div 元素的预定义宽度是:50%。</p>
  <p>动画将逐渐将最小宽度更改为 800 像素。</p>
</div>

<p><b>注释:</b>CSS 动画在 Internet Explorer 9 以及更早版本中不起作用。</p>

</body>
</html>
运行结果: