Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style> 
#myDIV {
  width: 500px;
  background-color: lightblue;
  overflow: auto;
  border: 1px solid black;
  animation: mymove 5s infinite;
}
@keyframes mymove {
  50% {min-height: 400px;}
}
</style>
</head>
<body>
<h1>Animation of min-height</h1>
<p>Change the min-height from "none" to "400px", and back to "none":<p>
<div id="myDIV">
  <p>This DIV element does not have a pre-defined height.</p>
  <p>An animation will change the min-height, from "none" to "400px".</p>
</div>
</body>
</html>