<!DOCTYPE html>
<html>
<head>
<style>
#parentDIV {
position: relative;
height:300px;
width: 60%;
background-color:#FFFFFF;
border: solid black 1px;
}
#myDIV {
position: absolute;
background-color:lightblue;
width: 100%;
inset-block: 0 30px;
animation: mymove 5s infinite;
}
@keyframes mymove {
50% {inset-block-end: 100px;}
}
</style>
</head>
<body>
<h1>Animation of inset-block-end</h1>
<p>Gradually change the inset-block-end property from 30px to 100px, and back to 30px:<p>
<div id="parentDIV">
<div id="myDIV">
This is my DIV element.
</div>
</div>
</body>
</html>