Skip to content

Instantly share code, notes, and snippets.

@danieldeusing
Created April 7, 2020 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieldeusing/595f21467e4cf7abeecdfa658b87babb to your computer and use it in GitHub Desktop.
Save danieldeusing/595f21467e4cf7abeecdfa658b87babb to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
*{
transition: all 0.6s;
}
html {
height: 100%;
}
body{
font-family: 'Lato', sans-serif;
color: #888;
margin: 0;
}
#main{
display: table;
width: 100%;
height: 100vh;
text-align: center;
}
.fof{
display: table-cell;
vertical-align: middle;
}
.fof 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>
</head>
<body>
<div id=\"main\">
<div class=\"fof\">
<h1>Error 404</h1>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment