From abb5eff2a971d3eb16a4c8fdb1002fc9a95c6c9d Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 23 Jun 2026 18:27:45 -0300 Subject: [PATCH] Update index.html --- index.html | 55 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index 9696954..56f15e0 100644 --- a/index.html +++ b/index.html @@ -190,15 +190,32 @@ .hero-carousel { position: relative; overflow: hidden; + min-height: 400px; } .hero-slide { - position: relative; + position: absolute; + inset: 0; min-height: 400px; display: flex; align-items: center; background-size: cover; background-position: center; - transition: opacity 0.5s ease; + transform: translateX(100%); + opacity: 0; + transition: + transform 0.5s ease, + opacity 0.5s ease; + z-index: 1; + } + .hero-slide.active { + transform: translateX(0); + opacity: 1; + z-index: 2; + } + .hero-slide.prev { + transform: translateX(-100%); + opacity: 0; + z-index: 1; } .hero-slide::before { content: ""; @@ -646,7 +663,7 @@
@@ -672,7 +689,7 @@
-
+

Startup challenge!
From Zero to ERP in @@ -708,7 +725,7 @@

@@ -745,7 +762,7 @@
si ? 1 : -1); resetTimer(); } function resetTimer() {