index.html 2.36 KB
Newer Older
wanli's avatar
wanli committed
1 2 3 4 5 6 7 8
<!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">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>EVM 应用商店</title>
wanli's avatar
wanli committed
9
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css">
wanli's avatar
wanli committed
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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
    <style>
      html,
      body {
        background-color: transparent;
        margin: 0;
        height: 100%;
      }
  
      .box {
        height: 80px;
        width: 80px;
        position: relative;
        top: calc(50% - 80px);
        left: calc(50% - 50px);
        perspective: 1000px;
      }
  
      .thing {
        height: 40px;
        width: 40px;
        background-color: #E87722;
        position: absolute;
        box-sizing: border-box;
        top: 0;
        left: 0;
      }
  
      .thing:nth-of-type(1) {
        animation: bounce 0.5s ease-in-out infinite alternate, move 4s -1s infinite;
      }
  
      .thing:nth-of-type(2) {
        animation: bounce 0.5s ease-in-out infinite alternate, move 4s -2s infinite;
      }
  
      .thing:nth-of-type(3) {
        animation: bounce 0.5s ease-in-out infinite alternate, move 4s -3s infinite;
      }
  
      .thing:nth-of-type(4) {
        animation: bounce 0.5s ease-in-out infinite alternate, move 4s -4s infinite;
      }
  
      @keyframes bounce {
        from {
          transform: scale(1);
        }
  
        to {
          transform: scale(0.8);
        }
      }
  
      @keyframes move {
        0% {
          top: 0;
          left: 0;
          background-color: #E87722;
        }
  
        25% {
          top: 0;
          left: 50%;
          background-color: #42b983;
        }
  
        50% {
          top: 50%;
          left: 50%;
          background-color: #69B3E7;
        }
  
        75% {
          top: 50%;
          left: 0;
          background-color: #FFC845;
        }
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but frontend doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app" class="box">
      <div class="thing"></div>
      <div class="thing"></div>
      <div class="thing"></div>
      <div class="thing"></div>
    </div>
    <!-- built files will be auto injected -->
  </body>
</html>