error404.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <!DOCTYPE html>
  2. <html lang="en" >
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>ERROR 404</title>
  6. <style>
  7. *, *:after, *:before {
  8. box-sizing: border-box;
  9. }
  10. html {
  11. background: #23508a;
  12. background: radial-gradient(ellipse at center, #23508a 0%, #1b3b62 50%, #1a365b 100%);
  13. font-family: arial;
  14. min-width: 400px;
  15. }
  16. body {
  17. width: 100%;
  18. height: 100vh;
  19. margin: 0;
  20. background: radial-gradient(ellipse at center, #73859a 1%, rgba(114, 132, 152, 0) 2%, rgba(0, 0, 0, 0) 100%), radial-gradient(ellipse at center, #73859a 1%, rgba(114, 132, 152, 0) 2%, rgba(0, 0, 0, 0) 100%), radial-gradient(ellipse at center, rgba(115, 133, 154, 0.5) 1%, rgba(114, 132, 152, 0) 2%, rgba(0, 0, 0, 0) 100%);
  21. background-size: 250px 250px , 100px 100px , 60px 60px;
  22. background-repeat: repeat;
  23. }
  24. .figure {
  25. position: fixed;
  26. left: 50%;
  27. top: 50%;
  28. -webkit-transform: translate(-50%, -65%);
  29. transform: translate(-50%, -65%);
  30. }
  31. .error-no {
  32. font-size: 200px;
  33. font-weight: bold;
  34. display: -webkit-box;
  35. display: flex;
  36. -webkit-box-align: center;
  37. align-items: center;
  38. -webkit-box-pack: center;
  39. justify-content: center;
  40. color: #68e3e9;
  41. text-shadow: -2px 4px 2px rgba(0, 0, 0, 0.5);
  42. }
  43. .moon {
  44. width: 150px;
  45. height: 150px;
  46. border-radius: 50%;
  47. background: #fff;
  48. position: relative;
  49. display: inline-block;
  50. z-index: 10;
  51. overflow: hidden;
  52. box-shadow: -20px 0 20px #e9e9e9 inset;
  53. border: 1px solid #68e3e9;
  54. }
  55. .moon:after {
  56. content: '';
  57. position: absolute;
  58. left: 75px;
  59. top: 70%;
  60. width: 20px;
  61. height: 20px;
  62. border-radius: 50%;
  63. color: #e9e9e9;
  64. background: currentcolor;
  65. -webkit-animation: 5s spin linear infinite;
  66. animation: 5s spin linear infinite;
  67. box-shadow: -30px -50px 0 20px, 50px -30px 0 -8px , 50px -90px 0 2px , 100px -90px 0 0px, 100px -40px 0 25px, 150px -15px 0 0px, 240px 15px 0 4px, 230px -80px 0 2px, 200px -20px 0 16px, 350px 0 0, 320px -50px 0 20px, 400px -30px 0 -8px, 400px -90px 0 2px;
  68. }
  69. .mj {
  70. position: relative;
  71. margin: auto;
  72. z-index: 30;
  73. width: 60px;
  74. -webkit-transform: scale(0.6) translatey(70%);
  75. transform: scale(0.6) translatey(70%);
  76. }
  77. @-webkit-keyframes spin {
  78. 0% {
  79. left: 75px;
  80. }
  81. 100% {
  82. left: -275px;
  83. }
  84. }
  85. @keyframes spin {
  86. 0% {
  87. left: 75px;
  88. }
  89. 100% {
  90. left: -275px;
  91. }
  92. }
  93. .rabbit {
  94. width: 5em;
  95. height: 3em;
  96. background: #ffffff;
  97. border-radius: 70% 90% 60% 50%;
  98. position: relative;
  99. -moz-transform: rotate(0deg) translate(-2em, 0);
  100. -ms-transform: rotate(0deg) translate(-2em, 0);
  101. -webkit-transform: rotate(0deg) translate(-2em, 0);
  102. transform: rotate(0deg) translate(-2em, 0);
  103. animation: hop 1s infinite linear;
  104. z-index: 1;
  105. }
  106. .no-flexbox .rabbit {
  107. margin: 10em auto 0;
  108. }
  109. .rabbit:before {
  110. content: "";
  111. position: absolute;
  112. width: 1em;
  113. height: 1em;
  114. background: white;
  115. border-radius: 100%;
  116. top: 0.5em;
  117. left: -0.3em;
  118. box-shadow: 4em 0.4em 0 -0.35em #3f3334, 0.5em 1em 0 white, 4em 1em 0 -0.3em white, 4em 1em 0 -0.3em white, 4em 1em 0 -0.4em white;
  119. animation: kick 1s infinite linear;
  120. }
  121. .rabbit:after {
  122. content: "";
  123. position: absolute;
  124. width: .75em;
  125. height: 2em;
  126. background: white;
  127. border-radius: 50% 100% 0 0;
  128. -moz-transform: rotate(-30deg);
  129. -ms-transform: rotate(-30deg);
  130. -webkit-transform: rotate(-30deg);
  131. transform: rotate(-30deg);
  132. right: 1em;
  133. top: -1em;
  134. border-top: 1px solid #f7f5f4;
  135. border-left: 1px solid #f7f5f4;
  136. box-shadow: -0.5em 0em 0 -0.1em white;
  137. }
  138. @keyframes hop {
  139. 20% {
  140. -moz-transform: rotate(-10deg) translate(1em, -2em);
  141. -ms-transform: rotate(-10deg) translate(1em, -2em);
  142. -webkit-transform: rotate(-10deg) translate(1em, -2em);
  143. transform: rotate(-10deg) translate(1em, -2em);
  144. box-shadow: -0.2em 3em 0 -1em #fff;
  145. }
  146. 40% {
  147. -moz-transform: rotate(10deg) translate(3em, -4em);
  148. -ms-transform: rotate(10deg) translate(3em, -4em);
  149. -webkit-transform: rotate(10deg) translate(3em, -4em);
  150. transform: rotate(10deg) translate(3em, -4em);
  151. box-shadow: -0.2em 3.25em 0 -1.1em #fff;
  152. }
  153. 60%,75% {
  154. -moz-transform: rotate(0) translate(4em, 0);
  155. -ms-transform: rotate(0) translate(4em, 0);
  156. -webkit-transform: rotate(0) translate(4em, 0);
  157. transform: rotate(0) translate(4em, 0);
  158. box-shadow: -0.2em 1em 0 -0.75em #fff;
  159. }
  160. }
  161. @keyframes kick {
  162. 20%,50% {
  163. box-shadow: 4em 0.4em 0 -0.35em #3f3334, 0.5em 1.5em 0 white, 4em 1.75em 0 -0.3em white, 4em 1.75em 0 -0.3em white, 4em 1.9em 0 -0.4em white;
  164. }
  165. 40% {
  166. box-shadow: 4em 0.4em 0 -0.35em #3f3334, 0.5em 2em 0 white, 4em 1.75em 0 -0.3em white, 4.2em 1.75em 0 -0.2em white, 4.4em 1.9em 0 -0.2em white;
  167. }
  168. }
  169. </style>
  170. </head>
  171. <body>
  172. <!-- partial:index.partial.html -->
  173. <div class="figure">
  174. <div class="mj">
  175. <div class='rabbit'></div>
  176. </div>
  177. <div class="error-no"> <span>4</span>
  178. <div class="moon"></div><span>4</span>
  179. </div>
  180. </div>
  181. <!-- partial -->
  182. </body>
  183. </html>