Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
</head>
<body>

Welcome to the HTML Portfolio Project
<!--Welcome to the HTML Portfolio Project-->


</body>
</html>
41 changes: 41 additions & 0 deletions src/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(to right, #1e3c72, #2a5298);
color: white;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

/* Typography */
h1 {
font-size: 2.5rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}

/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Styling for the Welcome Text */
body::before {
content: 'Welcome to the HTML Portfolio Project';
font-size: 2rem;
font-weight: 600;
display: block;
animation: fadeIn 1.5s ease-in-out;
}