From 1498d5e68b8e3dc582380a707594cbd40eee8974 Mon Sep 17 00:00:00 2001 From: Shraddha <shraddharaghuram@student.tudelft.nl> Date: Mon, 26 Aug 2024 09:05:13 +0000 Subject: [PATCH] fix image 2 --- static/homepage.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/static/homepage.css b/static/homepage.css index 0ae8924..488eeab 100644 --- a/static/homepage.css +++ b/static/homepage.css @@ -162,13 +162,15 @@ } .homepage-content-img2{ top: 1358px; - transform: translateX(40%); - width: 459.74px; - height: 236.979px; + /* transform: translateX(40%); */ transform: translateX(0%); + /* width: 459.74px; */ width: auto; + /* height: 236.979px; */ height: auto; + max-width: 100%; /* Ensure it doesn’t overflow */ flex-shrink: 0; border-radius: 33.854px; - background: url("https://static.igem.wiki/teams/5054/nitrogen-bond.svg"), 40% no-repeat; - opacity: 0; + background: url("https://static.igem.wiki/teams/5054/nitrogen-bond.svg"), 50% no-repeat; + /* background: url("https://static.igem.wiki/teams/5054/nitrogen-bond.svg"), 40% no-repeat; */ + /* opacity: 0; */ opacity: 1; transition: all 0.5s linear; } .homepage-content-img3{ -- GitLab