File size: 1,984 Bytes
646ba5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Dosis:800">
  <style>html {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; }

body {
  position: relative;
  background: #333;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0; }

#ui {
  width: 300px;
  height: 300px; }
  #ui .ball {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 20px;
    margin-top: -10px;
    transform-origin: 0 50%;
    opacity: 0.7; }
    #ui .ball:nth-child(1) {
      width: 150px;
      animation: rotation 3000ms linear infinite; }
    #ui .ball:nth-child(2) {
      width: 130px;
      animation: rotation 2800ms linear infinite; }
    #ui .ball:nth-child(3) {
      width: 110px;
      animation: rotation 2600ms linear infinite; }
    #ui .ball:nth-child(4) {
      width: 90px;
      animation: rotation 2400ms linear infinite; }
    #ui .ball:nth-child(5) {
      width: 70px;
      animation: rotation 2200ms linear infinite; }
    #ui .ball:nth-child(6) {
      width: 50px;
      animation: rotation 2000ms linear infinite; }
    #ui .ball:before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 35px;
      height: 20px;
      background: #fff;
      border-radius: 100%;
      opacity: 0.7;
      box-shadow: 0 0 20px 30px #fff; }
    #ui .ball:after {
      content: "";
      position: absolute;
      top: 0;
      right: 20px;
      width: 20px;
      height: 20px;
      background: #fff;
      border-radius: 100%;
      box-shadow: 0 0 10px 20px #fff; }

@keyframes rotation {
  0% {
    transform: rotateZ(0deg) scale(1.5);
    opacity: 0; }
  100% {
    transform: rotateZ(360deg) scale(0);
    opacity: 1; } }
</style>
</head>
<body>
  <div id="ui"><div class="ball"></div><div class="ball"></div><div class="ball"></div><div class="ball"></div><div class="ball"></div><div class="ball"></div></div>
  <script></script>
</body>
</html>