From dd62d3be8af0836bedc788ee3d537d0ac4ef2675 Mon Sep 17 00:00:00 2001 From: Nathanwoodburn Date: Tue, 24 Nov 2020 10:34:56 +1100 Subject: [PATCH] added mobile --- 404.css | 6 +++++- 404.html | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/404.css b/404.css index 7c87889..9faef15 100644 --- a/404.css +++ b/404.css @@ -26,7 +26,11 @@ t2 { background-color: #000000; animation: 0.2s shake infinite alternate; } - +p.mobile { display: none } +@media (max-width: 640px) { + p.mobile { display: block } + p.desktop { display: none } +} @keyframes shake { 0% { left: 38.43%; } 2.5% { left: 38.57%; } diff --git a/404.html b/404.html index d433329..7aeefac 100644 --- a/404.html +++ b/404.html @@ -13,6 +13,7 @@




Space Invaders destroyed this page!

Take revenge on them! +










Use Space to shoot and   to move!    or