diff --git a/static/homepage.css b/static/homepage.css index b60e08a7152ea992bc80330b75d11b27dc9bdc7a..c38f81e049463f098ad5d46e307f389f9b4197d8 100644 --- a/static/homepage.css +++ b/static/homepage.css @@ -698,6 +698,8 @@ height: 65px; opacity: 0; transition: all 0.5s linear; + left: 50%; /* Position the element 50% from the left */ + transform: translateX(-50%); /* Shift the element back by 50% of its own width */ } .homepage-content8 { top: 5700px; @@ -706,6 +708,8 @@ /* transform: translateX(-110%); */ opacity: 0; transition: all 0.5s linear; + left: 50%; /* Position the element 50% from the left */ + transform: translateX(-50%); /* Shift the element back by 50% of its own width */ } /* .homepage-content7{ top: 4502px;