<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background-color: black;
}
.wrapper{
width: 100px;
height: 100px;
border-radius: 50%;
background: radial-gradient(circle,white,gray);
animation: mybox 8s linear infinite both;
}
@keyframes mybox {
0%{
transform: translate(0,0);
}
25%{
transform: translate(500px,0);
}
50%{
transform: translate(500px,500px);
}
75%{
transform: translate(0px,500px);
}
100%{
transform: translate(0px,0px);
}
}
</style>
</head>
<body>
<div class="wrapper">
</div>
</body>
</html>