In this example below you will see how to do a 404 with some HTML / CSS and Javascript

This awesome code was written by AlisonBuki, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright AlisonBuki ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
      <link rel="stylesheet" href="css/style.css">



  <div class="dude">
  <span class="blink">404</span>



/*Downloaded from https://www.codeseek.co/AlisonBuki/404-MQveZB */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700');

.dude {
  background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/337424/UeOEnAyO.jpg');
  text-align: center;
.blink {
  font-family:'Roboto Slab', sans-serif;
  font-size: 15rem;
  color: red;
  text-shadow:9px 3px 0px rgba(57, 40, 255, 1);
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;

@keyframes blink-animation {
  to {
    visibility: hidden;
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;