-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 31a51f9
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>© 2024 News Portal. All rights reserved.</p> | ||
</div> | ||
</body> | ||
</html> |