<!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">
|
|
|
<style>
|
.main {
|
position: relative;
|
width: 200px;
|
height: 200px;
|
background: rgba(0, 0, 0, .4);
|
border-radius: 50%;
|
}
|
|
ul {
|
position: absolute;
|
margin: -20px 0 0;
|
padding: 0;
|
left: 50%;
|
top: 50%;
|
transform: rotate(45deg) translate(-50%, -50%);
|
}
|
|
li {
|
list-style-type: none;
|
position: absolute;
|
top: 0px;
|
left: 0px;
|
width: 20px;
|
height: 20px;
|
background: #00f7f9;
|
border-radius: 50%;
|
}
|
|
#a {
|
animation: a 1s ease-in-out infinite;
|
top: -40px;
|
left: -40px;
|
}
|
|
#b {
|
animation: b 1s ease-in-out infinite;
|
top: -40px;
|
left: 0px;
|
}
|
|
#c {
|
animation: c 1s ease-in-out infinite;
|
top: -40px;
|
left: 40px;
|
}
|
|
#d {
|
animation: d 1s ease-in-out infinite;
|
top: 0px;
|
left: -40px;
|
}
|
|
#e {
|
animation: e 1s ease-in-out infinite;
|
top: 0px;
|
left: 0px;
|
}
|
|
#f {
|
animation: f 1s ease-in-out infinite;
|
top: 0px;
|
left: 40px;
|
}
|
|
#g {
|
animation: g 1s ease-in-out infinite;
|
top: 40px;
|
left: -40px;
|
}
|
|
#h {
|
animation: h 1s ease-in-out infinite;
|
top: 40px;
|
left: 0px;
|
}
|
|
#i {
|
animation: i 1s ease-in-out infinite;
|
top: 40px;
|
left: 40px;
|
}
|
|
@keyframes a {
|
|
50%,
|
100% {
|
top: 0px;
|
left: -40px;
|
}
|
}
|
|
@keyframes b {
|
|
50%,
|
100% {
|
top: -40px;
|
left: -40px;
|
}
|
}
|
|
@keyframes c {
|
|
50%,
|
100% {
|
top: -40px;
|
left: 0px;
|
}
|
}
|
|
@keyframes d {
|
|
50%,
|
100% {
|
top: 40px;
|
left: -40px;
|
}
|
}
|
|
@keyframes f {
|
|
50%,
|
100% {
|
top: -40px;
|
left: 40px;
|
}
|
}
|
|
@keyframes g {
|
|
50%,
|
100% {
|
top: 40px;
|
left: 0px;
|
}
|
}
|
|
@keyframes h {
|
|
50%,
|
100% {
|
top: 40px;
|
left: 40px;
|
}
|
}
|
|
@keyframes i {
|
|
50%,
|
100% {
|
top: 0px;
|
left: 40px;
|
}
|
}
|
</style>
|
|
|
|
</head>
|
|
<body>
|
<div class="main">
|
<ul>
|
<li id='a'></li>
|
<li id='b'></li>
|
<li id='c'></li>
|
<li id='d'></li>
|
<li id='e'></li>
|
<li id='f'></li>
|
<li id='g'></li>
|
<li id='h'></li>
|
<li id='i'></li>
|
</ul>
|
</div>
|
|
<script>
|
// api.send('renderer-ready');
|
// api.receive('java-ready', () => {
|
// api.send('java-ready');
|
// });
|
</script>
|
|
</body>
|
|
</html>
|