Skip to content

Commit

Permalink
Merge pull request #297 from RamakrushnaBiswal/ram-dev
Browse files Browse the repository at this point in the history
404 not found page added
  • Loading branch information
ayush-t02 authored Jun 3, 2024
2 parents 1cad284 + 07fd302 commit 369e372
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404:Page not found</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
</head>
<style>
body{
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f6f6f6;
}
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90vh;

}
.pic{
width: 700px;
height: 700px;
animation: updown 2s ease-in-out infinite alternate;
}
@keyframes updown {
from{
transform: translateY(0);
}
to{
transform: translateY(20px);
}
}
a{
text-decoration: none;
color: #353535;
}
.btn{
position: absolute;
padding: 10px 20px;
background-color: #32ddaac9;
border-radius: 5px;
font-size: 20px;
font-weight: bold;
border: none;
top: 600px;
}
@media screen and (max-width: 600px) {
.pic{
width: 300px;
height: 300px;
}
.btn{
top: 400px;
}
}
</style>
<body>
<div class="center">
<img src="img/404pic.png" alt="404 pic" class="pic">
<button class="btn"><a href="index.html">Home</a></button>
</div>
</body>
</html>
Binary file added img/404pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 369e372

Please sign in to comment.