<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>
<p><b>Note:</b> CSS Animations do not work in Internet Explorer 9 and earlier versions.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_anim_min-height by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:35:52 GMT -->
</html>