Added Header Design
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user