<html>
<head>
<style>
div {
width: 100px;
height: 100px;
background: red;
position: relative;
animation: mymove 5s infinite;
}
@keyframes mymove {
from {top: 0px;}
to {top: 200px;}
}
</style>
</head>
<body>
<h1>The @keyframes Rule</h1>
<div></div>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss3_keyframes by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:37:11 GMT -->
</html>