From 2074f6be3096386fb543f040dec314290f6eb920 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Wed, 6 Oct 2021 06:18:34 -0400 Subject: Fixed the carousel --- index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.css') diff --git a/index.css b/index.css index 69187fe..1d95d04 100644 --- a/index.css +++ b/index.css @@ -98,16 +98,16 @@ header > nav > ul a:hover { } #image_container { - width: 100%; + padding-left: calc(50% - 120px); display: flex; flex-direction: row; height: 100%; - transition: left 200ms linear; + transition: transform 100ms linear; } .carousel_image { width: 240px; - transition: opacity 200ms linear; + transition: opacity 100ms linear; padding: 0; margin: 0; padding-right: 12px; -- cgit v1.2.1