Added Header Design

This commit is contained in:
Kevin Szarafin
2025-10-26 22:10:06 +01:00
parent 939ef4190e
commit db05aa2a8a
2 changed files with 72 additions and 4 deletions

View File

@@ -1,9 +1,67 @@
header {
display: flex;
width: 100%;
justify-content: center;
align-items: center;
height: 60px;
background-color: white;
padding: 0 20px;
position: relative;
}
.header {
height: 60px;
background-color: greenyellow;
header::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(to right, rgba(99,102,241,0), rgba(219,39,119,1), rgba(99,102,241,0));
}
.header-inner {
display: flex;
align-items: center;
gap: 15px;
}
.header img {
height: 120px;
width: auto;
object-fit: contain;
}
.header-text {
display: flex;
align-items: center;
gap: 10px;
}
.header-text h1 {
font-size: 4rem;
font-weight: 700;
color: black;
margin: 0;
line-height: 1;
animation: fadeUp 1s ease forwards;
}
.header-text p {
font-size: 1.5rem;
font-weight: 700;
padding-bottom: 5px;
}
.gradient-text {
background: linear-gradient(to right, #6366f1, #db2777);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fadeUp {
animation: fadeUp 1.2s ease forwards;
}

View File

@@ -1,2 +1,12 @@
<header class="header">
<div class="header-inner">
<img src="assets/logo.png" alt="Logo" class="logo" />
<div class="header-text">
<h1 class="animate-fadeUp">InfiniMotion</h1>
<p class="animate-fadeUp gradient-text">
Absolut war gestern,<br>Bewegung ist heute!
</p>
</div>
</div>
</header>