STYLE enhance footer layout with grid and z-index adjustments, and add parallax animation for improved visual dynamics
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-05-23 18:04:28 +02:00
parent 961e727631
commit f3bedbe854

View File

@ -1,7 +1,30 @@
footer { footer {
@apply mx-auto px-12 pt-64; @apply mx-auto px-12;
.branding { .branding {
@apply w-full mb-12; @apply w-full mb-12 grid relative pt-64;
z-index: -1;
.square,
.rectangle-rotated {
z-index: -1;
}
.circle,
.rectangle-vertical {
z-index: -3;
}
.website-title {
z-index: -2;
}
&__shapes {
@apply w-full grid gap-4 grid-cols-4 h-full absolute left-0;
top: 0px;
img {
@apply h-64 shrink;
flex-shrink: 1;
}
}
.website-title { .website-title {
@apply w-full; @apply w-full;
@ -26,3 +49,12 @@ footer {
} }
} }
} }
@keyframes parallax {
from {
transform: translateY(-200px);
}
to {
transform: translateY(200px);
}
}