404.html (4029B)
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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | <!doctype html> <html> <head> <title>404 Not Found</title> <!-- https://3dtransforms.desandro.com/ --> <style> html { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; background-color: white; color: white; } .outer { display: table; position: absolute; top: 0; left: 0; height: 100%; width: 100%; } .middle { display: table-cell; vertical-align: middle; } .inner { margin-left: auto; margin-right: auto; width: 400px; } /* ---- cube---- */ .scene--cube { width: 300px; height: 300px; margin: 80px 0; perspective: 500px; } .scene--persp-cube { perspective: 400px; } .cube { width: 300px; height: 300px; position: relative; transform-style: preserve-3d; transform: translateZ(-150px); } .scene--hero { height: 300px; margin: 80px 0; perspective: 500px; border: none; } .cube--hero { margin: 0 auto; } .cube.is-spinning { animation: spinCube 7s infinite linear; } @keyframes spinCube { 0% { transform: translateZ(-150px) rotateX(0deg) rotateY(0deg); } 100% { transform: translateZ(-150px) rotateX(360deg) rotateY(360deg); } } .cube__face { position: absolute; width: 300px; height: 300px; border: 2px solid black; line-height: 300px; font-size: 40px; font-weight: bold; color: white; text-align: center; } .cube.is-backface-hidden .cube__face { backface-visibility: hidden; } .cube__face--front { background: hsla(0, 100%, 50%, 0.7); } .cube__face--right { background: hsla(60, 100%, 50%, 0.7); } .cube__face--back { background: hsla(120, 100%, 50%, 0.7); } .cube__face--left { background: hsla(180, 100%, 50%, 0.7); } .cube__face--top { background: hsla(240, 100%, 50%, 0.7); } .cube__face--bottom { background: hsla(300, 100%, 50%, 0.7); } .cube__face--front { transform: rotateY(0deg) translateZ(150px); } .cube__face--right { transform: rotateY(90deg) translateZ(150px); } .cube__face--back { transform: rotateY(180deg) translateZ(150px); } .cube__face--left { transform: rotateY(-90deg) translateZ(150px); } .cube__face--top { transform: rotateX(90deg) translateZ(150px); } .cube__face--bottom { transform: rotateX(-90deg) translateZ(150px); } .cube.show-front { transform: translateZ(-150px) rotateY(0deg); } .cube.show-right { transform: translateZ(-150px) rotateY(-90deg); } .cube.show-back { transform: translateZ(-150px) rotateY(-180deg); } .cube.show-left { transform: translateZ(-150px) rotateY(90deg); } .cube.show-top { transform: translateZ(-150px) rotateX(-90deg); } .cube.show-bottom { transform: translateZ(-150px) rotateX(90deg); } </style> </head> <body> <div class="outer"> <div class="middle scene scene--hero"> <div class="inner cube cube--hero is-spinning"> <div class="cube__face cube__face--front">404</div> <div class="cube__face cube__face--right">Oops!</div> <div class="cube__face cube__face--back">pngu.org</div> <div class="cube__face cube__face--left">HTTP/1.1</div> <div class="cube__face cube__face--top">text/html</div> <div class="cube__face cube__face--bottom">Not Found</div> </div> </div> </div> </body> </html> |