Skip to content

Commit

Permalink
Create index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
IlumCI authored Apr 13, 2024
0 parents commit 31a51f9
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>News Portal</title>
<style>
body {
background-color: black;
color: white;
font-family: monospace;
padding: 20px;
overflow: hidden;
}
.container {
max-width: 800px;
margin: 0 auto;
animation: typing 5s steps(40, end);
white-space: nowrap;
overflow: hidden;
}
@keyframes typing {
from { width: 0; }
}
.post {
margin-bottom: 40px;
border-bottom: 1px solid white;
padding-bottom: 20px;
animation: fadeIn 3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.post h2 {
font-size: 24px;
margin-bottom: 10px;
}
.post p {
font-size: 18px;
line-height: 1.6;
}
.header {
text-align: center;
margin-bottom: 40px;
animation: fadeIn 3s ease-out;
}
.nav {
text-align: center;
margin-bottom: 20px;
animation: fadeIn 3s ease-out;
}
.footer {
text-align: center;
margin-top: 40px;
animation: fadeIn 3s ease-out;
}
</style>
</head>
<body>
<div class="header">
<h1>Welcome to our News Portal</h1>
</div>
<div class="nav">
<nav>
<a href="#">Home</a> | <a href="#">About</a> | <a href="#">Contact</a>
</nav>
</div>
<div class="container">
<div class="post">
<h2>Sample Post Title</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vel leo eu quam sodales consectetur. Donec quis eros sed dui malesuada varius. Sed porta ante vitae odio vulputate, in fermentum magna rhoncus.</p>
<p>Integer ut mi id est fermentum efficitur. Duis efficitur arcu ut mauris lacinia tempus. Proin hendrerit risus vel mauris facilisis, vel eleifend elit gravida. Vestibulum nec mauris in tortor facilisis cursus.</p>
</div>
<!-- More posts can be added here -->
</div>
<div class="footer">
<p>&copy; 2024 News Portal. All rights reserved.</p>
</div>
</body>
</html>

0 comments on commit 31a51f9

Please sign in to comment.