Skip to content

Instantly share code, notes, and snippets.

@rainyskye
Created July 25, 2023 03:01
Show Gist options
  • Save rainyskye/beac44851f462dd41e50367ce3deaed9 to your computer and use it in GitHub Desktop.
Save rainyskye/beac44851f462dd41e50367ce3deaed9 to your computer and use it in GitHub Desktop.
Minimal 404 Page Template
<div id="main">
<style>
*{
transition: all 0.6s;
}
html {
height: 100%;
}
body{
font-family: 'Lato', sans-serif;
color: rgb(166, 116, 161);
margin: 0;
}
#main{
display: table;
width: 100%;
height: 100vh;
text-align: center;
}
.uwu{
display: table-cell;
vertical-align: middle;
}
.uwu h1{
font-size: 50px;
display: inline-block;
padding-right: 12px;
animation: type .5s alternate infinite;
}
@keyframes type{
from{box-shadow: inset -3px 0px 0px #888;}
to{box-shadow: inset -3px 0px 0px transparent;}
}
</style>
<div class="uwu">
<h1>Error 404</h1>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment