Created
January 14, 2020 15:55
-
-
Save nsollazzo/37c6b5cdb7c3354d11c9966643c42453 to your computer and use it in GitHub Desktop.
Rick and Morty 404 page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Rick&Morty--> | |
<div class="background-img"> | |
<div class="space"></div> | |
<div class="wrapper"> | |
<div class="img-wrapper"> | |
<span>44</span> | |
</div> | |
<p>The page you are trying to search has been <br> moved to another universe.</p> | |
<button type="button">GET ME HOME</button> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
font-family: Ubuntu, sans-serif; | |
} | |
body { | |
margin: 0; | |
padding: 0; | |
background-color: #1e234d; | |
height: 100%; | |
} | |
html { | |
height: 100%; | |
overflow: hidden; | |
} | |
.wrapper{ | |
position: absolute; | |
margin: auto; | |
top: 50%; | |
transform: translateY(-50%); | |
left: 0; | |
right: 0; | |
width: fit-content; | |
text-align: center; | |
z-index: 4; | |
span { | |
&:first-letter{ | |
letter-spacing: 12vmax; | |
} | |
position: relative; | |
color: #fff; | |
font-weight: 900; | |
font-size: 20.4em; | |
display: block; | |
overflow: hidden; | |
width: fit-content; | |
height: max-content; | |
&:before{ | |
content:''; | |
background-image: url('https://staticdelivery.nexusmods.com/mods/1151/images/528-0-1447526230.png'); | |
position: absolute; | |
height: 100%; | |
width: 100%; | |
background-repeat: no-repeat; | |
background-size: contain; | |
background-position: center; | |
animation: rotateIn 0.5s ease-out; | |
} | |
} | |
p { | |
text-align: center; | |
font-style: italic; | |
font-weight: 400; | |
color: #fff; | |
margin-top: 0; | |
line-height: 22px; | |
} | |
button { | |
background-color: #f96e4d; | |
border: 0; | |
padding: 11px 22px; | |
border-radius: 50px; | |
color: #fff; | |
margin-top: 10px; | |
cursor: pointer; | |
font-weight: 900; | |
} | |
} | |
@keyframes spin { | |
from { | |
transform: rotate( 0deg ); | |
} | |
to { | |
transform: rotate( -360deg ); | |
} | |
} | |
@keyframes rotateIn { | |
from { | |
transform: rotate( 0deg ) scale(0.2); | |
opacity: 0; | |
} | |
to { | |
transform: rotate( 360deg ) scale(1); | |
opacity: 1; | |
} | |
} | |
.space { | |
position: absolute; | |
width: 400vw; | |
height: 400vh; | |
top: 50%; | |
left: 50%; | |
z-index: 1; | |
margin-top: -200vh; | |
margin-left: -200vw; | |
animation: spin 240s linear infinite; | |
background-size: 240px; | |
backface-visibility: visible; | |
background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI0MCAyNDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0MCAyNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxyZWN0IHg9IjEwNiIgeT0iOTAiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiLz48cmVjdCB4PSI3NCIgeT0iNjMiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyMyIgeT0iNjYiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSI1MCIgeT0iMTEwIiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PHJlY3QgeD0iNjMiIHk9IjEyOCIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxyZWN0IHg9IjQ1IiB5PSIxNDkiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIxIiBoZ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