----------------------------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Error</title>
<style>
html, body{
margin: 0;
padding: 0;
text-align: center;
font-family: sans-serif;
background-color: #E7FFFF;
height: 100vh;
width:100%;
align-items:center;
justify-content:center;
display:flex;
}
h1, a{
margin: 0;
padding: 0;
text-decoration: none;
}
.section{
padding: 4rem 2rem;
}
.section .error{
font-size: 150px;
color: #685bc7;
text-shadow:
1px 1px 1px #00593E,
2px 2px 1px #00593E,
3px 3px 1px #00593E,
4px 4px 1px #00593E,
5px 5px 1px #00593E,
6px 6px 1px #00593E,
7px 7px 1px #00593E,
8px 8px 1px #00593E,
25px 25px 8px rgba(0,0,0, 0.4);
}
.page{
margin: 2rem 0;
font-size: 20px;
font-weight: 600;
color: #444;
}
.back-home{
display: inline-block;
border: 1px solid #222;
color: #222;
text-transform: uppercase;
font-weight: 600;
padding: 0.75rem 1rem 0.6rem;
transition: all 0.2s linear;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
border-radius:20px;
}
.back-home:hover{
background: #685bc7;
color: #ddd;
}
</style>
</head>
<body>
<div class="section">
<h1 class="error">404</h1>
<div class="page">Ooops!!! The page you are looking for is not found</div>
<a class="back-home" href="index.php">Back to home</a>
<!-- <a class="back-home" onclick="Previous()" href="javascript:void(0)">Go Back</a> -->
</div>
<script>
function Previous() {
window.history.back()
}
</script>
</body>
</html>
0 Comments