Skip to content

Commit d3bc6e1

Browse files
committed
fix 404 meta redirect
1 parent 72df05e commit d3bc6e1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

public/404.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
document.head.append(refresh)
2727
}
28+
29+
document.getElementById('main').classList.toggle('invisible')
2830
</script>
2931

3032
<style>
@@ -47,6 +49,11 @@
4749
width: 100%;
4850
height: 100vh;
4951
text-align: center;
52+
transition: all 0.2s;
53+
}
54+
55+
.invisible {
56+
opacity: 100%;
5057
}
5158

5259
.fof {
@@ -74,7 +81,7 @@
7481

7582

7683
<body>
77-
<div id="main">
84+
<div id="main" class="invisible">
7885
<div class="fof">
7986
<h1>Error 404</h1>
8087
<p>Parece que essa página foi perdida.</p>

0 commit comments

Comments
 (0)